.
This commit is contained in:
parent
c2d3706d36
commit
e9f8ddf9e6
@ -39,10 +39,12 @@ file.close()
|
||||
--task.lua contains stuff that should be done after boot
|
||||
if not (fs.exists("brulijam/task.lua")) then
|
||||
file = fs.open("brulijam/task.lua", "a")
|
||||
file.writeLine("local basic = require(\"lib.basic\")")
|
||||
file.writeLine("print(\"Running /brulijam/task.lua in 5 seconds.\")")
|
||||
file.writeLine("sleep(5)")
|
||||
file.writeLine("--use this file to execute programs")
|
||||
file.writeLine("--put shell.run(\"somescript.lua\") here")
|
||||
file.writeLine("")
|
||||
file.writeLine("basic.clearDisplay()")
|
||||
file.close()
|
||||
end
|
||||
shell.run("brulijam/task.lua")
|
||||
|
Loading…
Reference in New Issue
Block a user