Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Загрузчик позаимствован из MineOS
- -- за что им опять спасибо
- -- и переделан до неузнаваемости
- -- за что спасибо мне )))
- --
- -- fudo.su
- --
- -- Сборка : Fudo LTS
- -- С долгосрочным обсуживанием
- -- Версия пакета : 0.2
- --
- local term = require("term")
- local fs = require("filesystem")
- local shell = require("shell")
- past1 = {"k7TQSJXJ","hpxFpDCy","xQAy801R","QqH4dxPh","LXn5EzuS","bm8XW8P9","w4yFHyFJ","QZmdC8pR","xC6ikGYi","t77aG1fG","4i7DfaSU","Jq42R3Yn","sx7MEZsV","sNwvNKuU","xm9YnWxZ","9VY6fmuD","hXbPiU3B","1ZWPeDeu","VZJwRDCF","fvbxKYbg","6KKc6xYK","JTWpxLu0","J6e6w6gi","UjuYfVa6","","","","","",""}
- past2 = {"HIPOS.lua","/HIPOS/nanobots.lua","/HIPOS/exit.lua","/HIPOS/Battleship.lua","/HIPOS/saper.lua","/HIPOS/copydisk.lua","/HIPOS/nc.lua","autorun.lua","/HIPOS/IconsPic/Battleship.pic","/HIPOS/IconsPic/Logo.pic","/HIPOS/IconsPic/LogoNano.pic","/HIPOS/IconsPic/folder.pic","/HIPOS/IconsPic/iconEXIT.pic","/HIPOS/IconsPic/iconNANO.pic","/HIPOS/IconsPic/iconNC.pic","/HIPOS/IconsPic/oslogoup.pic","/HIPOS/IconsPic/saper.pic","/lib/colorlib.lua","/lib/image.lua","/lib/advancedLua.lua","/lib/ECSAPI.lua","/lib/bridge.lua","/HIPOS/chat.lua","/HIPOS/IconsPic/chat.pic","","","","","",""}
- -- хххх КОМИТ хххх --
- -- изменен кастыль
- mfile = #past1+1
- 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 HIPOS installer again.")
- print(" ")
- else
- local icoPath = ""
- print("Downloading HIPOS | Fudo LTS...")
- fs.makeDirectory("/HIPOS/fudo/lts/IconsPic")
- i= 1
- term.clear()
- print ("+-----------------------------------+")
- print ("! File loading... ! Loaded : % !")
- print ("+===================================+")
- while i < mfile do
- term.setCursor(2,4)
- while 0 < 3 do
- print (" ")
- end
- term.setCursor (2,4)
- pst_cmd = "pastebin get -f "..past1[i].." "..past2[i]
- shell.execute(pst_cmd)
- --fs.makeDirectory(fs.path(installerPath))
- --fs.makeDirectory(fs.path(installerPath))
- --loadfile("/bin/wget.lua")("https://raw.githubusercontent.com/Installer.lua", installerPath, "-fq")
- --dofile(installerPath)
- term.setCursor(55,2)
- prt = 100/mfile
- prt = prt*i
- print (math.floor(prt))
- i = i + 1
- end
- end
- term.clear()
- shell.execute("reboot")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement