Advertisement
Guest User

CydiaPC

a guest
Oct 20th, 2014
168
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 4.94 KB | None | 0 0
  1. --[[
  2.     PC version of Cydia, this is part of the
  3.     Blackw1nd jailbreak for CraftOS 8 Beta 2
  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.1")
  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 (" For tweak descriptions type the name and 'desc'")
  24. print ("  ")
  25.  
  26. answer = read ()
  27. if answer == "7bar" then
  28.  shell.run("pastebin get eujwag8u 7Bar")
  29.  shell.run("delete CraftOS/StatusBar")
  30.  shell.run("move 7Bar CraftOS/StatusBar")
  31. end
  32.  
  33. if answer == "7bar desc" then
  34.  term.clear()
  35.  term.setCursorPos(1, 1)
  36.  shell.run("CraftOS/StatusBar")
  37.  term.setCursorPos(1, 2)
  38.  print ("This brings back the Statusbar from CraftOS 7.1 on to your CraftOS 8 advanced computer! This cannot be uninstalled.")
  39.  sleep(10)
  40.  shell.run("Cydia")
  41. end
  42.  
  43. if answer == "classic terminal" then
  44.  shell.run("move CC CraftOS/CC")
  45.  shell.run("move NC CraftOS/NC")
  46.  shell.run("move MPlayer CraftOS/MPlayer")
  47.  shell.run("pastebin get GyR4vC7D CC")
  48.  shell.run("pastebin get STm9SzAV NC")
  49.  shell.run("pastebin get xPUEYSmC MPlayer")
  50. end
  51.  
  52. if answer == "classic terminal desc" then
  53.  term.clear()
  54.  term.setCursorPos(1, 1)
  55.  shell.run("CraftOS/StatusBar")
  56.  term.setCursorPos(1, 2)
  57.  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. Only manual uninstallation (rename files to original name)")
  58.  sleep(10)
  59.  shell.run("Cydia")
  60. end
  61.  
  62. if answer == "bstatusbar" then
  63.  shell.run("pastebin get bhn0cvNK StatusBar")
  64.  shell.run("delete CraftOS/StatusBar")
  65.  shell.run("move bstatusbar CraftOS/StatusBar")
  66. end
  67.  
  68. if answer == "bstatusbar desc" then
  69.  term.clear()
  70.  term.setCursorPos(1, 1)
  71.  shell.run("CraftOS/StatusBar")
  72.  term.setCursorPos(1, 2)
  73.  print ("This makes your StatusBar black! cannot be uninstalled.")
  74.  sleep(10)
  75.  shell.run("Cydia")
  76. end
  77.  
  78. if answer == "wstatusbar" then
  79.  shell.run("pastbin get YGsscHCH StatusBar")
  80.  shell.run("delete CraftOS/StatusBar")
  81.  shell.run("move StatusBar CraftOS/StatusBar")
  82. end
  83.  
  84. if answer == "wstatusbar desc" then
  85.  term.clear()
  86.  term.setCursorPos(1, 1)
  87.  shell.run("CraftOS/StatusBar")
  88.  term.setCursorPos(1, 2)
  89.  print ("This makes your StatusBar white! cannot be uninstalled.")
  90.  sleep(10)
  91. end
  92.  
  93. if answer == "tlogin" then
  94.  shell.run("pastebin get C6QxgUWD TLogin")
  95.  shell.run("move TLogin CraftOS/Terminal/Login")
  96. end
  97.  
  98. if answer == "tlogin desc" then
  99.  term.clear()
  100.  term.setCursorPos(1, 1)
  101.  shell.run("CraftOS/StatusBar")
  102.  term.setCursorPos(1, 2)
  103.  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.")
  104.  sleep(15)
  105.  shell.run("Cydia")
  106. end
  107.  
  108. if answer == "non-advanced" then
  109.  print ("Please use the CraftOS 4.3 install disk.")
  110. end
  111.  
  112. if answer == "non-advanced desc" then
  113.  term.clear()
  114.  term.setCursorPos(1, 1)
  115.  shell.run("CraftOS/StatusBar")
  116.  term.setCursorPos(1, 2)
  117.  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!")
  118.  sleep(17)
  119. end
  120.  
  121. if answer == "start8" then
  122.  shell.run("move startup CraftOS/startup")
  123.  shell.run("pastebin get sLvjx75P startup")
  124.  shell.run("mkdir CraftOS/Terminal")
  125.  username = fs.open("CraftOS/Terminal/username","w")
  126.   if username then
  127.    username1 = username.write("user")
  128.   end
  129.  username.close()
  130.  password = fs.open("CraftOS/Terminal/password","w")
  131.   if password then
  132.    password 1 = password.write("pass")
  133.   end
  134.  password.close()
  135. end
  136.  
  137. if answer == "start8 desc" then
  138.  print ("Start8 is the best and only way to get the CraftOS 8 Beta 3 startup file onto your CraftOS 6/7 PC. This is mostly a base modification for other startup tweaks like 'TLogin', this has all the boot options that CraftOS 8 hold except only few work if they aren't installed already, currently only TLogin has bee tested and is confirmed to work without any bugs. All directories will be made as this is installed. Uninstallable as original startup is moved to CraftOS folder.")
  139. end
  140.  
  141. term.setBackgroundColour(colours.black)
  142. term.clear()
  143. term.setCursorPos(1, 1)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement