Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Installer
- error283 = "false:283:Directory Exists"
- error261 = "false:261:File Exists"
- error258 = "false:258:Could Not Connect to Server"
- term.clear()
- term.setCursorPos(1,1)
- print("VERR Downloader - OneStop Downloader!")
- print("Beginning Download...")
- if fs.exists("ProgramFiles") == false then
- shell.run("mkdir","ProgramFiles")
- print("Directory Configured")
- else
- print(error283)
- end
- if fs.exists("ProgramFiles/temp") == false then
- shell.run("mkdir","ProgramFiles/temp")
- print("Directory configured")
- else
- print(error283)
- end
- if fs.exists("ProgramFiles/temp/verrdown.tmp") == false then
- shell.run("pastebin","get","8TycFHzF","ProgramFiles/temp/verrdown.tmp")
- if fs.exists("ProgramFiles/temp/verrdown.tmp") == false then
- print(error258)
- print("The application will now close.")
- sleep(0.5)
- shell.exit()
- else
- print("Connection Established. Beginning download")
- end
- else
- fs.delete("ProgramFiles/temp/verrdown.tmp")
- shell.run("pastebin","get","8TycFHzF","ProgramFiles/temp/verrdown.tmp")
- if fs.exists("ProgramFiles/temp/verrdown.tmp") == false then
- print(error258)
- print("The application will now close.")
- sleep(0.5)
- shell.exit()
- else
- print("Connection Established. Beginning download")
- end
- end
- fs.delete("ProgramFiles/firewolf")
- fs.delete("ProgramFiles/thunderbird")
- fs.delete("ProgramFiles/npaintpro")
- fs.delete("ProgramFiles/lightshot")
- shell.run("pastebin","get","A7wGH3ty","ProgramFiles/firewolf")
- print("Firewolf Downloaded")
- sleep(0.1)
- shell.run("pastebin","get","R9Eb4XuG","ProgramFiles/thunderbird")
- print("Thunderbird Downloaded")
- sleep(0.1)
- shell.run("pastebin","get","xhFunCyF","ProgramFiles/npaintpro")
- print("NPaintPro Downloaded")
- sleep(0.1)
- shell.run("pastebin","get","g0nVKvgr","ProgramFiles/lightshot")
- print("lightshot Downloaded")
- sleep(0.1)
- print("Download complete...")
- sleep(0.1)
- print("Configuring files...")
- shell.setAlias("firewolf","ProgramFiles/firewolf")
- shell.setAlias("fw","ProgramFiles/firewolf")
- shell.setAlias("thunderbird","ProgramFiles/thunderbird")
- shell.setAlias("tb","ProgramFiles/thunderbird")
- shell.setAlias("npaintpro","ProgramFiles/npaintpro")
- shell.setAlias("npp","ProgramFiles/npaintpro")
- shell.setAlias("lightshot","ProgramFiles/lightshot")
- print("Configured...")
Add Comment
Please, Sign In to add comment