Use `index.js` instead of `main.js`

This commit is contained in:
Alex Ling 2020-07-24 09:30:10 +00:00
parent f116e2f1d0
commit 33107670ce
1 changed files with 1 additions and 1 deletions

View File

@ -127,7 +127,7 @@ class Plugin
raise Error.new "Plugin with title #{title} not found"
end
@js_path = File.join info.dir, "main.js"
@js_path = File.join info.dir, "index.js"
@storage_path = File.join info.dir, "storage.json"
unless File.exists? @js_path