Update tags and images
BIN
images/apple.png
Before Width: | Height: | Size: 886 B After Width: | Height: | Size: 780 B |
BIN
images/burp.png
Before Width: | Height: | Size: 947 B After Width: | Height: | Size: 963 B |
Before Width: | Height: | Size: 1.0 KiB After Width: | Height: | Size: 995 B |
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.2 KiB |
BIN
images/linux.png
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 998 B After Width: | Height: | Size: 972 B |
BIN
images/zap.png
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.3 KiB |
@ -23,10 +23,17 @@ def generate_badge array
|
|||||||
badge = badge + "![zap](./images/zap.png)"
|
badge = badge + "![zap](./images/zap.png)"
|
||||||
end
|
end
|
||||||
}
|
}
|
||||||
|
|
||||||
return badge
|
return badge
|
||||||
end
|
end
|
||||||
|
|
||||||
|
def generate_tags array
|
||||||
|
tags = ""
|
||||||
|
array.each { |t|
|
||||||
|
tags = tags + "`#{t}` "
|
||||||
|
}
|
||||||
|
return tags
|
||||||
|
end
|
||||||
|
|
||||||
template = %q{
|
template = %q{
|
||||||
<h1 align="center">
|
<h1 align="center">
|
||||||
<br>
|
<br>
|
||||||
@ -98,6 +105,7 @@ Dir.entries("./weapons/").each do | name |
|
|||||||
popularity = "![](https://img.shields.io/github/stars/#{split_result[1]})"
|
popularity = "![](https://img.shields.io/github/stars/#{split_result[1]})"
|
||||||
end
|
end
|
||||||
badge = generate_badge(data['platform'])
|
badge = generate_badge(data['platform'])
|
||||||
|
badge = generate_tags(data['tags'])
|
||||||
line = "|#{data['type']}|#{name}|#{data['description']}|#{badge}|#{popularity}|"
|
line = "|#{data['type']}|#{name}|#{data['description']}|#{badge}|#{popularity}|"
|
||||||
case data['category']
|
case data['category']
|
||||||
when 'tool'
|
when 'tool'
|
||||||
|