Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Oprogramowanie skladowe/instalator systemow stworzonych przez uzytkownika serwisu Discord - Wisnia#5536 --
- -- Jesli zaplaciles za to oprogramowanie zostales oszukany. --
- -- Zakazuje sie kopiowania oprogramowania bez zgody autora, czerpania korzysci materialnych, podpisywania sie pod oprogramowaniem --
- -- Dozwolone jest tworzenie modyfikacji oprogramowania badz jego czesci wylacznie wtedy, gdy widoczna jest informacja o oryginalnym autorze --
- -- Kompletna EULA dostepna jest na serwerze Discord: CRfXMXU --
- local function s(...) return sleep(...) end
- local function w(...) return write(...) end
- local function p(...) return print(...) end
- local function tw(...) return term.write(...) end
- local function scp(...) return term.setCursorPos(...) end
- local function sbc(...) return term.setBackgroundColor(...) end
- local function stc(...) return term.setTextColor(...) end
- local function tc(...) return term.clear(...) end
- local function tcl(...) return term.clearLine(...) end
- local function r(...) return shell.run(...) end
- local function sp(...) return textutils.slowPrint(...) end
- local function sw(...) return textutils.slowWrite(...) end
- local function fse(...) return fs.exists(...) end
- local function pul(...) return paintutils.loadImage(...) end
- local function pud(...) return paintutils.drawImage(...) end
- local function pfb(...) return paintutils.drawFilledBox(...) end
- local function su(...) return os.shutdown(...) end
- local function re(...) return os.reboot(...) end
- if pocket then
- term.clear()
- term.setCursorPos(1,1)
- print("UMOWA LICENCYJNA MICROCRAFT")
- print("Microcraft oferuje ponizsze oprogramowanie za licencja GNU General Public License v3.0.")
- sleep(8)
- term.clear()
- term.setCursorPos(1,1)
- print("Trwa instalacja mineOS 1.0")
- term.setCursorPos(1,2)
- shell.run("mkdir boot")
- shell.run("mkdir boot/ver")
- shell.run("pastebin get kW0Rqjtq startup")
- shell.run("pastebin get LZ4jtAAz /boot/.menu")
- shell.run("pastebin get 1Mwr12sU /boot/pocket")
- shell.run("pastebin get B6te3jzf /boot/.2048")
- shell.run("pastebin get xnimHwHU /boot/.update")
- shell.run("pastebin get NVzDaz4M /boot/icon")
- shell.run("pastebin get 7QDmjv3h /boot/.bios")
- sleep(1)
- print("Instalacja zakonczona")
- sleep(1)
- os.reboot()
- else
- term.clear()
- term.setCursorPos(1,1)
- term.setBackgroundColor(colors.blue)
- term.clear()
- term.setBackgroundColor(colors.blue)
- term.setTextColor(colors.white)
- print("UMOWA LICENCYJNA MICROCRAFT")
- print("Microcraft oferuje ponizsze oprogramowanie za licencja GNU General Public License v3.0.")
- sleep(4)
- term.clear()
- term.setCursorPos(1,1)
- term.setBackgroundColor(colors.blue)
- term.clear()
- term.setBackgroundColor(colors.blue)
- term.setTextColor(colors.white)
- print("Witamy w uniwersalnym programie instalacyjnym. Wybierz system do zainstalowania.")
- print("1. MineCore NextUI")
- print("2. MineCore MineUI")
- write("")
- jezyk = read()
- if jezyk == "1" then
- while true do
- term.clear()
- pfb(1, 1, 51, 1, colors.brown)
- pfb(2, 2, 50, 17, colors.black)
- pfb(1, 1, 1, 18, colors.brown)
- pfb(1, 18, 51, 18, colors.brown)
- pfb(51, 1, 51, 18, colors.brown)
- pfb(1, 19, 5, 19, colors.green)
- pfb(6, 19, 49, 19, colors.blue)
- term.setBackgroundColor(colors.black)
- term.setTextColor(colors.white)
- term.setCursorPos(1,19)
- write("Start")
- local event, click, x, y = os.pullEvent("mouse_click")
- if x>0 and x<6 and y == 19 then
- term.setBackgroundColor(colors.blue)
- term.setCursorPos(1,18)
- print("Wyjdz do CraftOS ")
- term.setCursorPos(1,17)
- print("Ustawienia ")
- term.setCursorPos(1,16)
- print("Zainstaluj MineCore ")
- term.setCursorPos(1,15)
- term.setBackgroundColor(colors.green)
- p("Microcraft Live Boot ")
- term.setBackgroundColor(colors.black)
- local event, click, x, y = os.pullEvent("mouse_click")
- if x>0 and x<10 and y == 18 then term.clear() term.setCursorPos(1,1) error("") end
- if x>0 and x<10 and y == 17 then
- term.setCursorPos(1,2)
- print("Ustawienia MineCore")
- print("Zmien nazwe komputera")
- print("[Zmien]")
- print("Zainstaluj system dla wiekszej ilosci ustawien")
- local event, click, x, y = os.pullEvent("mouse_click")
- if x == 1 and y == 4 or x == 2 and y == 4 or x == 3 and y == 4 then term.setCursorPos(1,4) write("Wpisz nowa nazwe:") nazwa = read()
- os.setComputerLabel(nazwa) os.reboot() end
- end
- if x>0 and x<10 and y == 16 then
- term.clear()
- term.setCursorPos(1,1)
- print("Instaluje....")
- term.setCursorPos(20,19)
- write("/startup")
- shell.run("rm startup")
- term.setCursorPos(1,17)
- shell.run("pastebin get bCbsGEb4 startup")
- term.setCursorPos(20,19)
- write("/os/")
- shell.run("mkdir os")
- term.setCursorPos(20,19)
- write("/os/.menu")
- term.setCursorPos(1,17)
- shell.run("pastebin get b18gdXZq /os/.next")
- term.setCursorPos(20,19)
- write("/os/.2048")
- term.setCursorPos(1,17)
- shell.run("pastebin get u0urwgNc /os/.2048")
- term.setCursorPos(20,19)
- write("/os/.paint")
- term.setCursorPos(1,17)
- shell.run("pastebin get pzWSRqNF /os/.paint")
- scp(1,17)
- shell.run("pastebin get KCNCwuj3 /os/.pulpit")
- term.setCursorPos(20,19)
- write("/os/.luaide")
- term.setCursorPos(1,17)
- shell.run("pastebin get vyAZc6tJ /os/.luaide")
- r("pastebin get hckriUmW /os/.jez")
- r("pastebin get 0uMxiriG /os/.kol")
- term.setCursorPos(1,17)
- shell.run("pastebin get ZV1RFXwz /os/.ver")
- term.clear()
- term.setCursorPos(20,19)
- write("/os/icon")
- term.setCursorPos(1,17)
- shell.run("pastebin get NVzDaz4M /os/icon")
- scp(1,17)
- r("pastebin get m4t3fTXs /os/.update")
- os.setComputerLabel("MineCore PC")
- disk.eject("left")
- disk.eject("right")
- disk.eject("back")
- disk.eject("top")
- disk.eject("bottom")
- disk.eject("front")
- os.reboot()
- end
- if x == 50 and y == 19 then os.reboot() end
- if x == 51 and y == 19 then os.shutdown() end
- end
- end
- end
- if jezyk == "2" then
- while true do
- term.clear()
- if fs.exists("/os/.pulpit") then obrazek = 1 else obrazek = 0 end
- local image = paintutils.loadImage("/os/.pulpit")
- if obrazek == 1 then paintutils.drawImage(image, 1, 1) else term.setBackgroundColor(colors.black) term.clear()
- term.setBackgroundColor(colors.black) end
- term.setTextColor(colors.white)
- term.setCursorPos(1,19)
- write("Start")
- local event, click, x, y = os.pullEvent("mouse_click")
- if x>0 and x<6 and y == 19 then
- term.setBackgroundColor(colors.blue)
- term.setCursorPos(1,18)
- print("Wyjdz do CraftOS ")
- term.setCursorPos(1,17)
- print("Ustawienia ")
- term.setCursorPos(1,16)
- print("Zainstaluj MineCore ")
- term.setCursorPos(1,15)
- term.setBackgroundColor(colors.green)
- p("Microcraft MineUI Live")
- term.setBackgroundColor(colors.black)
- local event, click, x, y = os.pullEvent("mouse_click")
- if x>0 and x<10 and y == 18 then term.clear() term.setCursorPos(1,1) error("") end
- if x>0 and x<10 and y == 17 then
- term.setCursorPos(1,2)
- print("Ustawienia MineCore")
- print("Zmien nazwe komputera")
- print("[Zmien]")
- print("Zainstaluj system dla wiekszej ilosci ustawien")
- local event, click, x, y = os.pullEvent("mouse_click")
- if x == 1 and y == 4 or x == 2 and y == 4 or x == 3 and y == 4 then term.setCursorPos(1,4) write("Wpisz nowa nazwe:") nazwa = read()
- os.setComputerLabel(nazwa) os.reboot() end
- end
- if x>0 and x<10 and y == 16 then
- term.clear()
- term.setCursorPos(1,1)
- print("Instaluje....")
- term.setCursorPos(20,19)
- write("/startup")
- shell.run("rm startup")
- term.setCursorPos(1,17)
- shell.run("pastebin get UYTPkH15 startup")
- term.setCursorPos(20,19)
- write("/os/")
- shell.run("mkdir os")
- shell.run("mkdir /os/ver")
- term.setCursorPos(20,19)
- write("/os/.menu")
- term.setCursorPos(1,17)
- shell.run("pastebin get UUuEq8p4 /os/.menu")
- term.setCursorPos(20,19)
- write("/os/.2048")
- term.setCursorPos(1,17)
- shell.run("pastebin get u0urwgNc /os/.2048")
- term.setCursorPos(20,19)
- write("/os/.paint")
- term.setCursorPos(1,17)
- shell.run("pastebin get pzWSRqNF /os/.paint")
- term.setCursorPos(20,19)
- write("/os/.kolko")
- term.setCursorPos(1,17)
- shell.run("pastebin get bV0tCQTr /os/.kolko")
- term.setCursorPos(20,19)
- write("/os/.luaide")
- term.setCursorPos(1,17)
- shell.run("pastebin get vyAZc6tJ /os/.luaide")
- term.setCursorPos(1,17)
- shell.run("pastebin get J9ULv3ew /os/.tupdate")
- term.setCursorPos(1,17)
- shell.run("pastebin get fEKcVePL /os/ver/.ver")
- term.clear()
- term.setCursorPos(20,19)
- write("/os/icon")
- term.setCursorPos(1,17)
- shell.run("pastebin get NVzDaz4M /os/icon")
- scp(1,17)
- r("pastebin get pNtMLmM9 /os/.update")
- term.clear()
- sleep(4)
- term.setCursorPos(1,1)
- print("Gotowe! Teraz przygotujmy twoj komputer.")
- s(2)
- tc()
- scp(1,1)
- stc(colors.white)
- sbc(colors.blue)
- p("Wpisz nazwe uzytkownika:")
- w("")
- uzytkownik = read()
- p("Wpisz haslo: ")
- w("")
- haslo = read()
- local p = fs.open("/os/.log1", "w")
- p.write(uzytkownik)
- p.close()
- local h = fs.open("/os/.log2", "w")
- h.writeLine(haslo)
- h.close()
- os.setComputerLabel("MineCore PC")
- disk.eject("left")
- disk.eject("right")
- disk.eject("back")
- disk.eject("top")
- disk.eject("bottom")
- disk.eject("front")
- os.reboot()
- end
- if x == 50 and y == 19 then os.reboot() end
- if x == 51 and y == 19 then os.shutdown() end
- end
- end
- end
- end
Add Comment
Please, Sign In to add comment