Advertisement
Guest User

Cydia

a guest
Oct 20th, 2014
259
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 4.74 KB | None | 0 0
  1. --[[
  2.     PC version of Cydia, this is part of the
  3.     Evasi0n8 jailbreak for CraftOS 6 - 8 Beta 3
  4. --]]
  5.  
  6. term.setBackgroundColour(256)
  7. term.clear()
  8. term.setCursorPos(1, 1)
  9. shell.run("CraftOS/StatusBar")
  10. term.setBackgroundColour(256)
  11. term.setCursorPos(1, 2)
  12.  
  13. print (" Cydia Beta 0.2")
  14. print ("  ")
  15. print (" Type a name to download the tweak")
  16. print (" Tweaks:")
  17. print ("        7Bar")
  18. print ("        Classic Terminal")
  19. print ("        BStatusBar")
  20. print ("        WStatusBar")
  21. print ("        TLogin")
  22. print ("        non-advanced")
  23. print ("        Start8")
  24. print (" For tweak descriptions type the name and 'desc'")
  25. print ("  ")
  26. write (" ")
  27.  
  28. answer = read ()
  29. if answer == "7bar" then
  30.  shell.run("pastebin get eujwag8u 7Bar")
  31.  shell.run("delete CraftOS/StatusBar")
  32.  shell.run("move 7Bar CraftOS/StatusBar")
  33. end
  34.  
  35. if answer == "7bar desc" then
  36.  term.clear()
  37.  term.setCursorPos(1, 1)
  38.  shell.run("CraftOS/StatusBar")
  39.  term.setCursorPos(1, 2)
  40.  print ("This brings back the Statusbar from CraftOS 7.1 on to your CraftOS 8 advanced computer! This cannot be uninstalled.")
  41.  sleep(10)
  42.  shell.run("Cydia")
  43. end
  44.  
  45. if answer == "classic terminal" then
  46.  shell.run("move CC CraftOS/CC")
  47.  shell.run("move NC CraftOS/NC")
  48.  shell.run("move MPlayer CraftOS/MPlayer")
  49.  shell.run("pastebin get GyR4vC7D CC")
  50.  shell.run("pastebin get STm9SzAV NC")
  51.  shell.run("pastebin get xPUEYSmC MPlayer")
  52. end
  53.  
  54. if answer == "classic terminal desc" then
  55.  term.clear()
  56.  term.setCursorPos(1, 1)
  57.  shell.run("CraftOS/StatusBar")
  58.  term.setCursorPos(1, 2)
  59.  print ("This brings you back the old Terminal by bypassing the Login screen and the Terminal options screen, this may be a little slow at first. Original files are moved to CraftOS folder, delete the modified ones then move the originals back to where they should be.")
  60.  sleep(10)
  61.  shell.run("Cydia")
  62. end
  63.  
  64. if answer == "bstatusbar" then
  65.  shell.run("pastebin get bhn0cvNK StatusBar")
  66.  shell.run("delete CraftOS/StatusBar")
  67.  shell.run("move StatusBar CraftOS/StatusBar")
  68. end
  69.  
  70. if answer == "bstatusbar desc" then
  71.  term.clear()
  72.  term.setCursorPos(1, 1)
  73.  shell.run("CraftOS/StatusBar")
  74.  term.setCursorPos(1, 2)
  75.  print ("This makes your StatusBar black! cannot be uninstalled.")
  76.  sleep(10)
  77.  shell.run("Cydia")
  78. end
  79.  
  80. if answer == "wstatusbar" then
  81.  shell.run("pastbin get YGsscHCH StatusBar")
  82.  shell.run("delete CraftOS/StatusBar")
  83.  shell.run("move StatusBar CraftOS/StatusBar")
  84. end
  85.  
  86. if answer == "wstatusbar desc" then
  87.  term.clear()
  88.  term.setCursorPos(1, 1)
  89.  shell.run("CraftOS/StatusBar")
  90.  term.setCursorPos(1, 2)
  91.  print ("This makes your StatusBar white! cannot be uninstalled.")
  92.  sleep(10)
  93. end
  94.  
  95. if answer == "tlogin" then
  96.  shell.run("pastebin get C6QxgUWD TLogin")
  97.  shell.run("move TLogin CraftOS/Terminal/Login")
  98. end
  99.  
  100. if answer == "tlogin desc" then
  101.  term.clear()
  102.  term.setCursorPos(1, 1)
  103.  shell.run("CraftOS/StatusBar")
  104.  term.setCursorPos(1, 2)
  105.  print ("This adds the new Login system for the Terminal that was introduced in CraftOS 7, this has been directly copied from CraftOS 8 Beta 2 and made the colours compatible with non-colour Computers, by default the username will be 'user' and the password will be 'pass', these should be changed in the CraftOS/Terminal folder. This can be uninstalled! Just remove the Terminal folder inside the CraftOS one! Requires Start8 to work.")
  106.  sleep(15)
  107.  shell.run("Cydia")
  108. end
  109.  
  110. if answer == "non-advanced" then
  111.  print ("Please use the modded CraftOS 4.3 installation disk")
  112. end
  113.  
  114. if answer == "non-advanced desc" then
  115.  term.clear()
  116.  term.setCursorPos(1, 1)
  117.  shell.run("CraftOS/StatusBar")
  118.  term.setCursorPos(1, 2)
  119.  print ("THIS REQUIRES THE CRAFTOS 4.3 INSTALL DISK. This uses the CraftOS 4.3 installation disk to run the virtual OS, this does exactly what it says and runs the non-colour CraftOS on your Advanced Computer! This also requires you to be in the disk folder for the whole time you use it, when you have finished you can simply go back to your original version and type by leaving the Disk folder. Completely uninstallable!")
  120.  sleep(17)
  121.  shell.run("Cydia")
  122. end
  123.  
  124. if answer == "start8" then
  125.  shell.run("move startup CraftOS/startup")
  126.  shell.run("pastebin get nka3VMKd startup")
  127. end
  128.  
  129. if answer == "start8 desc" then
  130.  print ("Start8 is the best way to get the CraftOS 8 Beta 3 startup on your CraftOS 6/7 PC, new features like new boot options won't work unless you have a Cydia tweak for them to, this is more of a base modification for things like 'TLogin' that need the startup file to be ready for the Login feature to be loaded, without external additions the Login and/or Terminal Launcher will be skipped on versions without it. Original startup is saved to CraftOS folder.")
  131. end
  132.  
  133. term.setBackgroundColour(colours.black)
  134. term.clear()
  135. term.setCursorPos(1, 1)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement