From e1b385fffc2f568f97916f1c23102675a1e4287a Mon Sep 17 00:00:00 2001 From: Benedikt Ziemons Date: Sat, 1 Jun 2024 01:31:52 +0200 Subject: [PATCH] Add update.lua script --- update.lua | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 update.lua diff --git a/update.lua b/update.lua new file mode 100644 index 0000000..74871cb --- /dev/null +++ b/update.lua @@ -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")