Advertisement
MrRobar35

InterstellarInstaller

May 22nd, 2018
291
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. local fs = require("filesystem")
  2.  
  3. if fs.get("bin/edit.lua") == nil or fs.get("bin/edit.lua").isReadOnly() then
  4.     print("Файловая система доступна только для чтения! Возможно у вас не установлена система.")
  5.     print(" ")
  6. else
  7.     local installerPath = "/Interstellar2/Installer.lua"
  8.     print("Загрузка установщика...")
  9.     fs.makeDirectory(fs.path(installerPath))
  10.     loadfile("/bin/wget.lua")("https://raw.githubusercontent.com/IteratorW/Interstellar2/master/Installer.lua", installerPath, "-fq")
  11.     dofile(installerPath, ...)
  12. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement