Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local fs = require("filesystem")
- if fs.get("bin/edit.lua") == nil or fs.get("bin/edit.lua").isReadOnly() then
- print("Floppy disk filesystem detected: type \"install\" in command line and install OpenOS to your HDD. After that run MineOS installer again.")
- print(" ")
- else
- local installerPath = "/MineOS/System/OS/Installer.lua"
- print("Downloading MineOS installer...")
- fs.makeDirectory(fs.path(installerPath))
- loadfile("/bin/wget.lua")("https://raw.githubusercontent.com/IgorTimofeev/OpenComputers/master/Installer/Installer.lua", installerPath, "-fq")
- dofile(installerPath)
- end
Add Comment
Please, Sign In to add comment