diff --git a/src/startup.lua b/src/startup.lua index 7ff7b38..36c7c76 100644 --- a/src/startup.lua +++ b/src/startup.lua @@ -1,13 +1,13 @@ --fetch sync script local repo = "https://git.brulijam.com/brulijam/Computercraft/raw/branch/main/src" -getRequest = http.get(repo .. "/brulijam/programs/sync.lua") -file = fs.open("/brulijam/programs/sync.lua", "w") +getRequest = http.get(repo .. "/brulijam/sync.lua") +file = fs.open("/brulijam/sync.lua", "w") file.write(getRequest.readAll()) file.close() --execute sync script -shell.run("/brulijam/programs/sync.lua") +shell.run("/brulijam/sync.lua") --task.lua contains stuff that should be done after boot if not (fs.exists("brulijam/task.lua")) then