summaryrefslogtreecommitdiff
path: root/start.lua
diff options
context:
space:
mode:
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)