Advertisement
Alakazard12

CommuteOS Installer

Dec 23rd, 2012
146
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.40 KB | None | 0 0
  1. local rawd = "https://raw.github.com/alakazard12/CommuteOS/master/installer.lua"
  2. print("Downloading installer...")
  3.  
  4. local res = http.get(rawd)
  5.  
  6. if not res then
  7.     print("Error downloading installer")
  8.     return
  9. end
  10.  
  11. local fl = fs.open(".temp_CommuteOS-Installer", "w")
  12. fl.write(res.readAll())
  13. fl.close()
  14. res.close()
  15. shell.run(".temp_CommuteOS-Installer")
  16. fs.delete(".temp_CommuteOS-Installer")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement