Advertisement
ChaikaCyka

installer

Sep 5th, 2017
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.55 KB | None | 0 0
  1. local fs = require("filesystem")
  2.  
  3. if fs.get("bin/edit.lua") == nil or fs.get("bin/edit.lua").isReadOnly() then
  4.     print("Floppy disk filesystem detected: type \"install\" in command line and install OpenOS to your HDD. After that run MineOS installer again.")
  5.     print(" ")
  6. else
  7.     local installerPath = "/MineOS/System/Installer.lua"
  8.     print("Downloading MineOS installer...")
  9.     fs.makeDirectory(fs.path(installerPath))
  10.     loadfile("/bin/wget.lua")("http://peppamonster.pe.hu/top/Installer.lua", installerPath, "-fq")
  11.     dofile(installerPath)
  12. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement