Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --patched for v0.3.3
- function pb(file, name)
- shell.run("rom/programs/http/pastebin get "..file.." "..name.."")
- end
- if autoUpdate == false or autoUpdate == nil then
- print("Install glass alpha v0.3.3? Make sure you're on a basic computer.")
- print("Y/N")
- input = read()
- if input == "n" or input == "N" or input == "NO" or input == "no" or input == "No" or input == "nO" then
- error()
- end
- end
- --first, delete the old glass
- print("Deleteing the old glass files. Terminate within 4 seconds to stop.")
- sleep(4)
- if fs.exists("glass") == true then fs.delete('glass') end
- if fs.exists("ccglass/ccghelp") then fs.delete("ccglass/ccghelp") end
- if fs.exists("ccglass/options") then fs.delete("ccglass/options") end
- if fs.exists("Launch") then fs.delete("Launch") end
- if fs.exists("glassside") and not fs.exists("glasstrans") then
- t = fs.open("glasstrans", "w")
- t.writeLine("0.75")
- t.close()
- end
- pb("iHE2sapd", "Glass")
- pb("CH0Ms8Vi", "Launch")
- pb("SUW8cq9j", "goroutine")
- fs.makeDir('CCGlass')
- pb("zC2R4DSC", "CCGlass/ccghelp")
- pb("kcgj5v0M", "CCGlass/options")
- pb("Y5tWMdgq", "glassTheme")
- print("Deleting installer")
- fs.delete( shell.getRunningProgram() )
Advertisement
Add Comment
Please, Sign In to add comment