GochiPC

2.5U

Jul 31st, 2025
269
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.69 KB | None | 0 0
  1. local label = os.getComputerLabel()
  2.  
  3. if label == "2.5" then
  4.   print("You allready have this version " .. label)
  5.   return
  6. end
  7.  
  8. if label == "2.2" or label == "2.3" or label == "2.4" then
  9.     term.clear()
  10.     term.setCursorPos(1,1)
  11.     print("Welcome to MineUpdater")
  12.     print("please wait to update 2.5")
  13.     sleep(2)
  14.     print("removing old file")
  15.     shell.run("delete startup.lua")
  16.     sleep(5)
  17.     print("installing new files")
  18.     sleep(2)
  19.     shell.run("pastebin get 9RBnKnJR startup.lua")
  20.     sleep(2)
  21.     print("the update complete")
  22.     print("please wait this will reboot")
  23.     sleep(4)
  24.     os.reboot()
  25. end
  26.  
  27. print("you dont have MineOS2 or you have Unsupported Version.")
Advertisement
Add Comment
Please, Sign In to add comment