Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- term.setBackgroundColor( colors.blue )
- term.clear()
- term.setCursorPos(1,1)
- print("AiOs Installer V1.7")
- textutils.slowPrint("Installing AiOs")
- print("You can mannually install the system via the pastebin page you got this from")
- print("enter to continue")
- read()
- print("[N]ew set or [O]ld set")
- while true do
- local tempa = read()
- if string.upper(tempa) == "N" then
- print("[7] - AIOS V7p2")
- while true do
- tempb = read()
- if tempb == "7" then
- shell.run("pastebin run 4KQanS75")
- break
- end
- end
- elseif string.upper(tempa) == "O" then
- break
- end
- end
- print("Continuing install in 1 second")
- sleep(1)
- print("pick edition")
- print("[N]ew [AiOs 2.0]")
- print("[A]64 [A32 continuation]")
- print("[M]odern [AiOs 5]")
- w = true
- while w do
- VERSION = read()
- if VERSION == "A" or VERSION == "a" then
- VERSION = "A"
- break
- elseif VERSION == "N" or VERSION == "n" then
- VERSION = "N"
- break
- elseif VERSION == "M" or VERSION == "m" then
- VERSION = "5"
- break
- else
- print("Not an option")
- end
- end
- textutils.slowPrint("Installing AiOs && AiOs BIOS")
- term.clear()
- term.setCursorPos(1,1)
- term.setTextColour(colours.red)
- print("-----X")
- term.setCursorPos(1,1)
- if VERSION == "N" then
- shell.run("pastebin", "get", "BrBCtgQs", ".os")
- print("----X-")
- term.setCursorPos(1,1)
- shell.run("pastebin", "get", "VV4Gymk6", ".ProgramMenu")
- term.setTextColour(colours.green)
- print("--<")
- print("If you are stuck try holding cntrl+T for about 2 seconds")
- sleep(1)
- shell.run("mkdir", "os")
- print("-<-")
- sleep(1)
- shell.run("cp", ".menu", "/os/.menu")
- print("<--")
- sleep(1)
- term.clear()
- term.setCursorPos(1,1)
- term.setTextColour(colours.red)
- print("---X--")
- shell.run("pastebin", "get", "e4xEc8hF", ".bios.lua")
- term.setCursorPos(1,1)
- print("--X---")
- shell.run("pastebin", "get", "zrAdwWNf", "startup.lua")
- print("Minimum files have been installed")
- term.clear()
- term.setCursorPos(1,1)
- term.setTextColour(colours.green)
- textutils.slowPrint("Almost ready!")
- print("If you get stuck here, hold cntrl+T for 2 seconds!")
- print("1/6")
- shell.run("pastebin", "get", "42Sfmwkw", ".CMD")
- print("2/6")
- shell.run("pastebin", "get", "vYbBhc6p", ".programs")
- print("3/6")
- shell.run("mv", ".programs", "/os/.programs")
- print("4/6")
- shell.run("mkdir", "/os/programs")
- print("5/6")
- shell.run("pastebin", "get", "8cE2UhcX", "hi.lua")
- sleep(0.25)
- print("6/6")
- shell.run("mv", "hi.lua", "/os/programs/hi.lua")
- print("Installing additonal programs")
- shell.run("pastebin", "get", "zW99JCr5", ".FM.lua")
- shell.run("pastebin", "get", "isrc4Gd7", "/os/programs/Telnet.lua")
- shell.run("pastebin", "get", "z8XmXhyQ", ".uninstall")
- if VERSION == "N" then
- shell.run("pastebin", "get", "mRrQSsud", ".ATerm")
- shell.run("pastebin", "get", "N5V3uYyX", ".DFT")
- print("INCLUDE SERVICE PACK 2? [Y]")
- if read() == "Y" then
- shell.run("pastebin", "get", "vXJ2enVX", "MUSIC")
- shell.run("pastebin", "get", "6gadUHeS", "ASS")
- term.clear()
- print("If possible please make a disk drive with disk")
- print("on the bottom side, then enter Y otherwise press enter")
- if read() == "Y" then
- shell.run("bg", "mv", "ASS", "disk/startup")
- sleep(0.25)
- shell.run("bg lable set bottom ASS")
- end
- end
- end
- term.setTextColour(colours.white)
- print("---------------------------")
- print("If the program fails now please include")
- print("the following text:")
- term.setTextColour(colours.red)
- print("DEBUG INFO")
- print(fs.exists(".os"))
- print(fs.exists(".bios.lua"))
- print(fs.exists("startup.lua"))
- print(fs.exists("os"))
- term.setTextColour(colours.white)
- textutils.slowPrint("----------")
- elseif VERSION == "A" then
- term.clear()
- term.setTextColor(colors.lightGray)
- for i=1,30 do
- sleep(0.01)
- print(string.rep(":", term.getSize()))
- end
- term.setBackgroundColor(colors.black)
- term.setTextColor(colors.white)
- term.setCursorPos(1,1)
- print("prepping correct installer please wait")
- shell.run("pastebin run 3B2ksZU3")
- elseif VERSION == "5" then
- shell.run("pastebin run 0d6Gh5tz")
- end
- print("READY")
- print("REBOOTING")
- sleep(5)
- os.reboot()
Add Comment
Please, Sign In to add comment