Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- pastebin get UeWXmPEA startupAltar
- --local fileName = shell.getRunningProgram()
- local fileName = "altar"
- local paste = "aMbHSphb"
- while true do
- --term.setCursorPos( 1, -5 ) -- Hide the pastebin retrivial
- if fs.exist(fileName) then
- print("Deleting program: "..fileName)
- fs.delete(fileName)
- end
- print("Updating program: "..fileName)
- shell.run( "pastebin", "get", paste, fileName )
- print("Starting program: "..fileName)
- shell.run( fileName )
- print("Restarting the program")
- sleep(5)
- end
Advertisement
Add Comment
Please, Sign In to add comment