summaryrefslogtreecommitdiff
path: root/start.lua
diff options
context:
space:
mode:
authorBotond Hende <nettingman@gmail.com>2025-05-01 16:09:20 +0200
committerBotond Hende <nettingman@gmail.com>2025-05-01 16:09:20 +0200
commitad2f2229506a993473f48d70b509022dea1b0f9d (patch)
tree37c564f113c0bfffd83900ad932f2e8dd4adfa9f /start.lua
initial commit
Diffstat (limited to 'start.lua')
-rw-r--r--start.lua7
1 files changed, 7 insertions, 0 deletions
diff --git a/start.lua b/start.lua
new file mode 100644
index 0000000..91700d2
--- /dev/null
+++ b/start.lua
@@ -0,0 +1,7 @@
+local url = "http://127.0.0.1/test"
+
+shell.run("rm", "updater.lua")
+shell.run("wget", url .. "/updater.lua")
+
+local updater = require("updater")
+updater.getLatest(url)