Plugin downloader WIP

This commit is contained in:
Alex Ling
2020-07-22 09:08:03 +00:00
parent 7e4532fb14
commit a994c43857
5 changed files with 144 additions and 40 deletions

View File

@@ -36,7 +36,6 @@ class Plugin
def initialize(filename : String)
dir = Config.current.plugin_path
pp dir
Dir.mkdir_p dir unless Dir.exists? dir
@path = File.join dir, "#{filename}.js"