Advertisement
PolskiWisnia

Minedows XP Pro 2.5 setup

Apr 3rd, 2019
173
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 3.50 KB | None | 0 0
  1. -- Oprogramowanie skladowe/instalator systemow/czesc skladowa stworzonych przez uzytkownika serwisu Discord - Wisnia#5536 --
  2. -- Jesli zaplaciles za to oprogramowanie zostales oszukany. --
  3. -- Zakazuje sie kopiowania oprogramowania bez zgody autora, czerpania korzysci materialnych, podpisywania sie pod oprogramowaniem --
  4. -- Dozwolone jest tworzenie modyfikacji oprogramowania badz jego czesci wylacznie wtedy, gdy widoczna jest informacja o oryginalnym autorze --
  5. -- Kompletna EULA dostepna jest na serwerze Discord: CRfXMXU --
  6. term.clear()
  7. term.setCursorPos(1,1)
  8. print("Witamy w programie instalacyjnym Minedows XP Pro 2.5. Prosimy wybrac jezyk systemu. Instalacja zostanie dokonana po wybraniu odpowiedniej opcji z Menu Start w MineUI")
  9. print("1. Polski")
  10. write("")
  11. jezyk = read()
  12. if jezyk == "1" then
  13.  while true do
  14.  term.clear()
  15.  if fs.exists("/os/.pulpit") then obrazek = 1 else obrazek = 0 end
  16.  local image = paintutils.loadImage("/os/.pulpit")
  17.  if obrazek == 1 then paintutils.drawImage(image, 1, 1) else term.setBackgroundColor(colors.black) term.clear()
  18.  term.setBackgroundColor(colors.black) end
  19.  term.setTextColor(colors.white)
  20.  term.setCursorPos(1,19)
  21.  write("Start")
  22.  local event, click, x, y = os.pullEvent("mouse_click")
  23.  if x>0 and x<6 and y == 19  then
  24. term.setBackgroundColor(colors.blue)
  25.   term.setCursorPos(1,18)
  26.   print("Wyjdz do CraftOS      ")
  27.   term.setCursorPos(1,17)
  28.   print("Zainstaluj Minedows   ")
  29.   term.setCursorPos(1,16)
  30.   term.setBackgroundColor(colors.green)
  31.   print("Microcraft MineUI Live")
  32.   term.setBackgroundColor(colors.black)
  33.   local event, click, x, y = os.pullEvent("mouse_click")
  34.   if x>0 and x<10 and y == 18 then term.clear() term.setCursorPos(1,1) error("") end
  35.   if x>0 and x<10 and y == 17 then
  36.    term.clear()
  37.    term.setCursorPos(1,1)
  38.    print("Instaluje....")
  39.    term.setCursorPos(20,19)
  40.    write("/startup")
  41.    shell.run("startup")
  42.    term.setCursorPos(1,17)
  43.    shell.run("pastebin get nSZRyEw0 startup")
  44.    term.setCursorPos(20,19)
  45.    write("/os/")
  46.    shell.run("mkdir os")
  47.    term.setCursorPos(20,19)
  48.    write("/os/.menu")
  49.    term.setCursorPos(1,17)
  50.    shell.run("pastebin get tQVK3mAj /os/.menu")
  51.    term.clear()
  52.    term.setCursorPos(20,19)
  53.    write("/os/.informacje")
  54.    term.clearLine()
  55.    term.setCursorPos(1,17)
  56.    shell.run("pastebin get SyyZEXpA /os/.informacje")
  57.    term.setCursorPos(20,19)
  58.    write("/os/.2048")
  59.    term.setCursorPos(1,17)
  60.    shell.run("pastebin get u0urwgNc /os/.2048")
  61.    term.setCursorPos(20,19)
  62.    write("/os/.gry")
  63.    term.setCursorPos(1,17)
  64.    shell.run("pastebin get Q7TRBB4U /os/.gry")
  65.    term.setCursorPos(20,19)
  66.    write("/os/.kolko")
  67.    term.setCursorPos(1,17)
  68.    shell.run("pastebin get bV0tCQTr /os/.kolko")
  69.    term.setCursorPos(20,19)
  70.    write("/os/.luaide")
  71.    term.setCursorPos(1,17)
  72.    shell.run("pastebin get YXgn6m6p /os/.programy")
  73.    term.setCursorPos(1,17)
  74.    shell.run("pastebin get 2uECXPh2 /os/.explorer")
  75.    term.clear()
  76.    term.setCursorPos(20,19)
  77.    write("/os/icon")
  78.    term.setCursorPos(1,17)
  79.    shell.run("pastebin get KkPMhn2Q /os/icon")
  80.    term.setCursorPos(1,17)
  81.    shell.run("pastebin get huKLkiuf /os/.surf")
  82.    term.setCursorPos(1,17)
  83.    shell.run("pastebin get fnCqqdwT /os/.update")
  84.    term.clear()
  85.    sleep(4)
  86.    term.setCursorPos(1,1)
  87.    print("Gotowe! Trwa ponowne uruchomienie komputera.")
  88.    os.setComputerLabel("MineCore PC")
  89.    os.reboot()
  90.   end
  91.  if x == 50 and y == 19 then os.reboot() end
  92.  if x == 51 and y == 19 then os.shutdown() end
  93. end
  94. end
  95. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement