Advertisement
Ocawesome101

OC-OS v1 installer

Oct 29th, 2019
176
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.45 KB | None | 0 0
  1. -- Installer for OC-OS v1.0. The simplest ****ing installer you'll ever see. --
  2.  
  3. local commands = {"pastebin get W5ZkVYSi gitget", "gitget ocawesome101 oc-os-v1", "wget https://raw.githubusercontent.com/ocawesome101/ocbios/master/bios.lua startup.lua", "rm gitget", "rm json", "rm README.md", "reboot"}
  4.  
  5. write("Install OC-OS v1? [y/n] ")
  6. local yn = read()
  7.  
  8. if not yn:lower() == "n" then
  9.     for i=1, #commands, 1 do
  10.         shell.run(commands[i])
  11.     end
  12. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement