Guest User

Untitled

a guest
Mar 10th, 2013
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.44 KB | None | 0 0
  1. function complete()
  2.     print("Setup Is Completed!")
  3.     print("System Reboot in:")
  4.     print("3")
  5.     sleep(1)
  6.     print("2")
  7.     sleep(1)
  8.     print("1")
  9.     sleep(1)
  10.     os.reboot()
  11. end
  12. function install()
  13.     if fs.exists("/archily") then
  14.         fs.remove("/archily")
  15.         fs.makeDir("archily")
  16.         fs.makeDir("/archily/system")
  17.         shell.run("pastebin", "get", "wk0Siumq", "archily/system/gui")
  18.         shell.run("pastebin", "get", "UhbCLCVE", "boot")
  19.         shell.run("pastebin", "get", "320wmmdy", "archily/system/fLib")
  20.         shell.run("pastebin", "get", "HxYuSMHP", "archily/system/file")
  21.         shell.run("pastebin", "get", "HaSRpSLH", "archily/system/.background")
  22.         shell.run("pastebin", "get", "3ykgdF0g", "archily/system/icon.nfp")
  23.         shell.run("pastebin", "get", "m3X2bYjQ", "archily/system/taco")
  24.         fs.makeDir("/archily/system/programs")
  25.         shell.run("pastebin", "get", "BDSMjPDQ", "archily/system/programs/firewolf")
  26.         shell.run("pastebin", "get", "LEWpvT2Z", "archily/system/programs/npaintpro")
  27.         shell.run("pastebin", "get", "CRd9f1Ac", "archily/system/update")
  28.         shell.run("pastebin", "get", "Mh9LTq2a", "startup")
  29.         complete()
  30.     end
  31. -- here should be an end
  32. function license()
  33.     lic = "Archily"
  34.  
  35.     print("PLs input license key")
  36.     write(" ")  -- You did write "  ", it is a better syntax to do write(" ")
  37.     input = read()
  38.     if input == lic then
  39.         print("starting installer...")
  40.         install()
  41.     else
  42.         print("Something Bad!")
  43.         os.reboot()
  44.     end
  45. -- here also should be an end
  46. license()
Advertisement
Add Comment
Please, Sign In to add comment