Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function main()
- print("Welcome to Orange Anti-Virus Setup!")
- print("Created By: thegreatstudio!")
- print("Do you want to install this program to your computer??")
- print("Type yes or no.")
- write("Choose: ")
- local choose = read()
- if choose == "yes" then
- install()
- else
- print("Aborting the installation!")
- end
- end
- function install()
- resp = http.get("http://pastebin.com/raw.php?i=txZEtSbM")
- if resp then
- local fileHandle = fs.open("/orange", "w")
- fileHandle.write(resp.readAll())
- fileHandle.close()
- fs.makeDir("//.Orange")
- fs.makeDir("//.Orange/startup")
- fs.makeDir("//.Orange/kernel")
- else
- print("Can't reach the server!!")
- end
- end
- main()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement