Advertisement
Stiepen

KilOS dev installer

Nov 13th, 2012
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. --[[
  2.   This is the official installer for the KilOS dev branch
  3.   To install run these 2 commands:
  4.   pastebin get vPAG7mSw install
  5.   install
  6.  
  7.   make sure http api is enabled. (in smp it has to be enabled server-side)
  8.   after the setup is done you can just delete install.
  9. --]]
  10. function main()
  11.   if not http then
  12.     printError("HTTP API is disabled.")
  13.     return
  14.   end
  15.   local h = http.get("http://stiepen.bplaced.net/KilOSdev/install.lua")
  16.   if not h then
  17.     printError("Could not download installer :(")
  18.     return
  19.   end
  20.   s, m = loadstring(h.readAll(), "Installer")
  21.   s()
  22. end
  23. main()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement