Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- APT / WGet per computer a 32 e 64 Bit
- term.clear()
- term.setCursorPos(20, 2)
- print("WGet - APT")
- if fs.exists("prg/install") == false then
- shell.run("pastebin get code prg/wiew")
- end
- if fs.exists("prg/wiew") == false then
- shell.run("pastebin get code prg/wiew")
- end
- if fs.exists("prg/update") == false then
- shell.run("pastebin get code prg/update")
- end
- print("\n\n[I] Per Installare un pacchetto\n[V] Per visualizzare i pacchetti presenti\n[A] Aggiorna la lista dei pacchetti")
- local event, key = os.pullEvent(key)
- local tasto = keys.getName("key")
- if tasto == "i" then
- shell.run("prg/install")
- elseif tasto == "v" then
- shell.run("prg/view")
- elseif tasto = "a" then
- shell.run("prg/update")
- else
- shell.run("startup")
- end
Add Comment
Please, Sign In to add comment