Advertisement
thegreatstudio

setup

May 1st, 2013
165
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.16 KB | None | 0 0
  1. term.clear()
  2. term.setCursorPos(1, 1)
  3. function check()
  4. if fs.isDir("/System/Applications") then
  5.  print("Pear OS Compatible.")
  6.  sleep(1)
  7.  setup()
  8. else
  9. if fs.isDir("/kreos") then
  10.  print("KREOS compatible!")
  11.  sleep(1)
  12.  setup3()
  13. else
  14. print("Other OS Compatible!")
  15. sleep(1)
  16. setup2()
  17. end
  18. end
  19. end
  20.  
  21. function setup2()
  22.  print("Installing the Grape Antivirus(Other OS Compatible)")
  23.  sleep(1)
  24.  fs.makeDir("/grapes")
  25.  shell.run("pastebin", "get", "K6SZkGib", "/grape")
  26.  sleep(1)
  27.  print("Done!")
  28.  print("Rebooting the System...")
  29.  sleep(1)
  30.  os.reboot()
  31. end
  32.  
  33. function setup()
  34.  print("Setting up the Grape Antivirus.")
  35.  sleep(1)
  36.  shell.run("pastebin", "get", "K6SZkGib", "/grape")
  37.  sleep(1)
  38.  print("Done!")
  39.  print("Rebooting..")
  40.  sleep(1)
  41.  fs.makeDir("/grapes")
  42.  sleep(0.4)
  43.  fs.copy("/grape", "/Home/Desktop/grape.app")
  44.  sleep(1)
  45.  fs.delete("/grape")
  46.  sleep(1)
  47.  os.reboot()
  48.  end
  49.  
  50. function setup3()
  51.  print("Installing the Grape Antivirus(KREOS Compatible)")
  52.  sleep(1)
  53.  fs.makeDir("/grapes")
  54.  shell.run("pastebin", "get", "K6SZkGib", "/grape")
  55.  sleep(1)
  56.  print("Done!")
  57.  print("Rebooting the System...")
  58.  sleep(1)
  59.  os.reboot()
  60. end
  61.  
  62.  
  63. check()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement