Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Oprogramowanie skladowe/instalator systemow/czesc skladowa 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 --
- term.clear()
- term.setCursorPos(1,1)
- print("Witamy w programie instalacyjnym MineCore 2nd March Update. Prosimy wybrac jezyk systemu. Instalacja zostanie dokonana po wybraniu odpowiedniej opcji z Menu Start w MineUI")
- print("Welcome to the setup of the MineCore March Update. Please choose your language. The setup will install MineCore after choosing the option in the Start Menu in MineUI.")
- print("1. Polski")
- print("2. English")
- write("")
- jezyk = read()
- if jezyk == "1" 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)
- textutils.slowPrint("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("startup")
- term.setCursorPos(1,17)
- shell.run("pastebin get newde1Qg 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 6PUwszLu /os/.menu")
- term.clear()
- term.setCursorPos(20,19)
- write("/os/.info")
- term.clearLine()
- term.setCursorPos(1,17)
- shell.run("pastebin get aNsHcZz8 /os/.info")
- 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.clear()
- term.setCursorPos(20,19)
- write("/os/icon")
- term.setCursorPos(1,17)
- shell.run("pastebin get KkPMhn2Q /os/icon")
- term.setCursorPos(1,17)
- shell.run("pastebin get nYY24idJ /os/.pulpit")
- term.setCursorPos(1,17)
- shell.run("pastebin get Y1zrxZ38 /os/.programy")
- term.setCursorPos(1,17)
- shell.run("pastebin get jM6b3Lwf /os/.ustawienia")
- term.clear()
- sleep(4)
- term.setCursorPos(1,1)
- print("Gotowe! Trwa ponowne uruchomienie komputera.")
- os.setComputerLabel("MineCore PC")
- 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("Exit to CraftOS ")
- term.setCursorPos(1,17)
- print("Settings ")
- term.setCursorPos(1,16)
- print("Install MineCore ")
- term.setCursorPos(1,15)
- term.setBackgroundColor(colors.green)
- textutils.slowPrint("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("MineCore Settings")
- print("Change computer label")
- print("[Change]")
- local event, click, x, y = os.pullEvent("mouse_click")
- if x>0 and x<7 and y == 4 then term.setCursorPos(1,4) write("Enter new label:") 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("Processing....")
- term.setCursorPos(20,19)
- write("/startup")
- shell.run("startup")
- term.setCursorPos(1,17)
- shell.run("pastebin get 4mcRbb31 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 6BLmRLDS /os/.menu")
- term.clear()
- term.setCursorPos(20,19)
- write("/os/.informacje")
- term.clearLine()
- term.setCursorPos(1,17)
- shell.run("pastebin get Qet147Ru /os/.informacje")
- term.clearLine()
- term.clear()
- term.setCursorPos(20,19)
- write("/os/.2048")
- term.setCursorPos(1,17)
- shell.run("pastebin get u0urwgNc /os/.2048")
- term.setCursorPos(20,19)
- write("/os/.luaide")
- term.setCursorPos(1,17)
- shell.run("pastebin get vyAZc6tJ /os/.luaide")
- term.clear()
- term.setCursorPos(20,19)
- write("/os/icon")
- term.setCursorPos(1,17)
- shell.run("pastebin get KkPMhn2Q /os/icon")
- term.setCursorPos(1,17)
- shell.run("pastebin get nYY24idJ /os/.pulpit")
- term.clear()
- sleep(4)
- term.setCursorPos(1,1)
- print("Done! Rebooting this PC.")
- os.setComputerLabel("MineCore PC")
- 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
Add Comment
Please, Sign In to add comment