Merge pull request #1228 from aninder/master

fix app.json file path in ruby driver
main
Elbert Alias 8 years ago committed by GitHub
commit 7f1c0b3892

@ -11,7 +11,7 @@ Encoding.default_external = Encoding::UTF_8
class Wappalyzer
def initialize
@realdir = File.dirname(File.realpath(__FILE__))
file = File.join(@realdir, '..', '..', 'share', 'apps.json')
file = File.join(@realdir, 'apps.json')
@json = JSON.parse(IO.read(file))
@categories, @apps = @json['categories'], @json['apps']
end

Loading…
Cancel
Save