GochiPC

2.3U

Jul 21st, 2025
191
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.66 KB | None | 0 0
  1. local label = os.getComputerLabel()
  2.  
  3. if label == "2.3" then
  4.   print("You allready have this version " .. label)
  5.   return
  6. end
  7.  
  8. if label == "2.0" or label == "2.1" or label == "2.2" then
  9.     term.clear()
  10.     term.setCursorPos(1,1)
  11.     print("Welcome to MineUpdater")
  12.     print("please wait to update 2.3")
  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 JXtz0FbD 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")
Advertisement
Add Comment
Please, Sign In to add comment