This commit is contained in:
Julian Brammer 2024-06-09 21:09:12 +02:00
parent bffd9fe4ed
commit 8b89ca0c7a

View File

@ -44,10 +44,12 @@ if not (fs.exists("brulijam/task.lua")) then
file.writeLine("sleep(5)") file.writeLine("sleep(5)")
file.writeLine("--put shell.run(\"somescript.lua\") here") file.writeLine("--put shell.run(\"somescript.lua\") here")
file.writeLine("") file.writeLine("")
file.writeLine("basic.clearDisplay()") file.writeLine("")
file.close() file.close()
end end
shell.run("brulijam/task.lua") shell.run("brulijam/task.lua")
term.clear()
term.setCursorPos(1,1)
--create ntfy file (can be changed later) --create ntfy file (can be changed later)
if not (fs.exists("brulijam/config/ntfy.txt")) then if not (fs.exists("brulijam/config/ntfy.txt")) then
@ -56,6 +58,11 @@ if not (fs.exists("brulijam/config/ntfy.txt")) then
file.close() file.close()
end end
print("Press Return to continue")
read("")
--execute sync script --execute sync script
shell.run("/brulijam/sync.lua") shell.run("/brulijam/sync.lua")