Add update.lua script

This commit is contained in:
Ben 2024-06-01 01:31:52 +02:00
parent 1b4f601e9f
commit e1b385fffc
Signed by: ben
GPG key ID: 0F54A7ED232D3319

9
update.lua Normal file
View file

@ -0,0 +1,9 @@
if fs.exists("permset.lua") then
fs.delete("permset.lua")
end
shell.execute("wget", "https://gitea.rs485.network/ben/cc/raw/branch/main/permset.lua", "permset.lua")
if fs.exists("test.lua") then
fs.delete("test.lua")
end
shell.execute("wget", "https://gitea.rs485.network/ben/cc/raw/branch/main/test.lua", "test.lua")
shell.run("test")