Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- tArgs = {...}
- local Install = "jBghcB1C"
- if type(tArgs[1]) == "string" and tArgs[1]:lower() == "disk" then
- print("\n\nAre you sure you want to create an install disk Keyboard for monitors (Y/N)")
- term.setTextColor(colors.red)
- print('Warning! this will delete the "startup" file on the disk')
- term.setTextColor(colors.white)
- if read():lower() == "y" then
- if fs.exists("disk") and fs.isDir("disk") then
- if fs.exists("disk/startup") then fs.delete("disk/startup") end
- print("\nDownloading installer")
- shell.run("pastebin", "get", Install, "disk/startup")
- print("\n\nInstall disk created successfully")
- print("Note: reboot the computer to start the install")
- else
- error("No disk drive attached")
- end
- else
- print("Install canceled")
- end
- else
- print("\n\nAre you sure you want to Install Keyboard for monitors (Y/N)")
- term.setTextColor(colors.red)
- print('Warning! this will delete the "Key" folder on this computer')
- term.setTextColor(colors.white)
- if read():lower() == "y" then
- if fs.exists("Key") then fs.delete("Key") end
- local Run = "wutxWFKt"
- local Keyboard = "CX4Aq5r1"
- local Uninstall = "ugEh6GST"
- print("\nDownloading program")
- shell.run("pastebin", "get", Keyboard, "Key/Keyboard")
- print("\nDownloading launcher")
- shell.run("pastebin", "get", Run, "Key/Run")
- print("\nDownloading uninstaller")
- shell.run("pastebin", "get", Uninstall, "Key/Uninstall")
- print("\nDownloading installer")
- shell.run("pastebin", "get", Install, "Key/Install")
- print("\n\nInstall completed successfully")
- print("To run simply type Key/Run <name of monitor>")
- print("Note: designed to be used on a separate monitor")
- else
- print("Install canceled")
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment