Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- term.clear()
- term.setCursorPos(1, 1)
- function check()
- if fs.isDir("/System/Applications") then
- print("Pear OS Compatible.")
- sleep(1)
- setup()
- else
- if fs.isDir("/kreos") then
- print("KREOS compatible!")
- sleep(1)
- setup3()
- else
- print("Other OS Compatible!")
- sleep(1)
- setup2()
- end
- end
- end
- function setup2()
- print("Installing the Grape Antivirus(Other OS Compatible)")
- sleep(1)
- fs.makeDir("/grapes")
- shell.run("pastebin", "get", "K6SZkGib", "/grape")
- sleep(1)
- print("Done!")
- print("Rebooting the System...")
- sleep(1)
- os.reboot()
- end
- function setup()
- print("Setting up the Grape Antivirus.")
- sleep(1)
- shell.run("pastebin", "get", "K6SZkGib", "/grape")
- sleep(1)
- print("Done!")
- print("Rebooting..")
- sleep(1)
- fs.makeDir("/grapes")
- sleep(0.4)
- fs.copy("/grape", "/Home/Desktop/grape.app")
- sleep(1)
- fs.delete("/grape")
- sleep(1)
- os.reboot()
- end
- function setup3()
- print("Installing the Grape Antivirus(KREOS Compatible)")
- sleep(1)
- fs.makeDir("/grapes")
- shell.run("pastebin", "get", "K6SZkGib", "/grape")
- sleep(1)
- print("Done!")
- print("Rebooting the System...")
- sleep(1)
- os.reboot()
- end
- check()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement