Advertisement
thegreatstudio

isaax.install

Jul 5th, 2013
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.67 KB | None | 0 0
  1. function install()
  2. term.clear()
  3. term.setCursorPos(1, 1)
  4. print("What do you want to install ?: ")
  5. print("List of programs that you can install: firewolf and ccyoutube")
  6. write("Install: ")
  7. cmd = read()
  8. if cmd == "firewolf" then
  9. shell.run("/apps/firewolf.install")
  10.  
  11. elseif cmd == "ccyoutube" then
  12. shell.run("/apps/ccyoutube.install")
  13.  
  14. else
  15. print("Isaax does not support that software!")
  16. sleep(2)
  17. main()
  18. end
  19. end
  20.  
  21. function main()
  22. term.clear()
  23. term.setCursorPos(1, 1)
  24. print("Isaax Installer Program")
  25. write("Do you want to install supported programs??: ")
  26.  
  27. choose = read()
  28. if choose == "yes" then
  29. install()
  30.  
  31. else
  32. shell.run("//.system/linux")
  33. end
  34. end
  35.  
  36. main()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement