Implement /install

This commit is contained in:
2022-09-22 21:01:40 +02:00
parent 7fa635170a
commit 226aba437a
7 changed files with 91 additions and 15 deletions

View File

@@ -0,0 +1,6 @@
local path = "{{ deploy_path }}"
files = { "main.lua", "json.lua", "framebuffer.lua", "ringbuffer.lua" }
for _, file in ipairs(files) do
fs.delete(file)
shell.run(("wget %s/lua/%s"):format(path, file))
end