Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Constantes
- local programName = ""
- local pastebinUrl = ""
- local params = {...}
- -- Apagar programa existente
- if fs.exists(programName) then
- shell.run("rm", programName)
- end
- -- Baixar novamente
- shell.run("pastebin", "get", pastebinUrl, programName)
- term.clear()
- -- Executar
- shell.run(programName, params)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement