SHOW:
|
|
- or go back to the newest paste.
| 1 | --[[ | |
| 2 | - | This is the official installer for KilOS |
| 2 | + | This is the official installer for the KilOS dev branch |
| 3 | To install run these 2 commands: | |
| 4 | - | pastebin get sP9WXu8n install |
| 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/KilOS/install.lua")
|
| 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() |