Advertisement
PolskiWisnia

uniwersalny instalator

Apr 18th, 2019
1,241
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 8.71 KB | None | 0 0
  1. -- Oprogramowanie skladowe/instalator systemow 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. if pocket then
  7.  term.clear()
  8.  term.setCursorPos(1,1)
  9.  print("UMOWA LICENCYJNA")
  10.  print("Instalujac system zobowiazujesz sie do respektowania praw autorskich wobec tworcy systemu. Zakazuje sie edytowania oraz kopiowania bez zgody autora. Zakazuje sie rowniez czerpania jakichkolwiek korzysci materialnych dzieki oprogramowaniu stworzonego przez autora.")
  11. print("Autor: Wisnia#5536")
  12. print("Jesli kupiles ten program zostales oszukany.")
  13.  print("Jesli sie nie zgadzasz wylacz urzadzenie TERAZ")
  14.  print("System udostepniam bez zadnych oplat. Milego korzystania")
  15.  sleep(8)
  16.  term.clear()
  17.  term.setCursorPos(1,1)
  18.  print("Trwa instalacja mineOS 1.0")
  19.  term.setCursorPos(1,2)
  20.  shell.run("mkdir boot")
  21.  shell.run("mkdir boot/ver")
  22.  shell.run("pastebin get kW0Rqjtq startup")
  23.  shell.run("pastebin get LZ4jtAAz /boot/.menu")
  24.  shell.run("pastebin get 1Mwr12sU /boot/pocket")
  25.  shell.run("pastebin get B6te3jzf /boot/.2048")
  26.  shell.run("pastebin get xnimHwHU /boot/.update")
  27.  shell.run("pastebin get KkPMhn2Q /boot/icon")
  28.  shell.run("pastebin get 7QDmjv3h /boot/.bios")
  29.  sleep(1)
  30.  print("Instalacja zakonczona")
  31.  sleep(1)
  32.  os.reboot()
  33. else
  34. term.clear()
  35. term.setCursorPos(1,1)
  36. term.setBackgroundColor(colors.blue)
  37. term.clear()
  38. term.setBackgroundColor(colors.blue)
  39. term.setTextColor(colors.white)
  40. print("UMOWA LICENCYJNA MICROCRAFT")
  41. print("Instalujac system stworzony przez autora niniejszego instalatora zobowiazujesz sie do przestrzegania praw autorskich wobec tworcy. Zakazuje sie edytowania oprogramowania systemow MineCore oraz Minedows oraz kopiowania ich na inne strony bez zgody autora. Zakazuje sie czerpania korzysci materialnych z pomoca oprogramowania stworzonego przez tworce niniejszego instalatora.")
  42. print("Autor: Wisnia#5536")
  43. print("Jesli kupiles ten program zostales oszukany.")
  44. print("Jezeli sie nie nie zgadzasz na niniejsza umowe NATYCHMIAST WYLACZ URZADZENIE.")
  45. print("System udostepniam bez zadnych oplat. Milego korzystania")
  46. sleep(4)
  47. term.clear()
  48. term.setCursorPos(1,1)
  49. term.setBackgroundColor(colors.blue)
  50. term.clear()
  51. term.setBackgroundColor(colors.blue)
  52. term.setTextColor(colors.white)
  53. print("Witamy w uniwersalnym programie instalacyjnym. Wybierz system do zainstalowania.")
  54. print("1. MineCore")
  55. print("2. Minedows")
  56. write("")
  57. jezyk = read()
  58. if jezyk == "1" then
  59.  while true do
  60.  term.clear()
  61.  if fs.exists("/os/.pulpit") then obrazek = 1 else obrazek = 0 end
  62.  local image = paintutils.loadImage("/os/.pulpit")
  63.  if obrazek == 1 then paintutils.drawImage(image, 1, 1) else term.setBackgroundColor(colors.black) term.clear()
  64.  term.setBackgroundColor(colors.black) end
  65.  term.setTextColor(colors.white)
  66.  term.setCursorPos(1,19)
  67.  write("Start")
  68.  local event, click, x, y = os.pullEvent("mouse_click")
  69.  if x>0 and x<6 and y == 19  then
  70. term.setBackgroundColor(colors.blue)
  71.   term.setCursorPos(1,18)
  72.   print("Wyjdz do CraftOS      ")
  73.   term.setCursorPos(1,17)
  74.   print("Ustawienia            ")
  75.   term.setCursorPos(1,16)
  76.   print("Zainstaluj MineCore   ")
  77.   term.setCursorPos(1,15)
  78.   term.setBackgroundColor(colors.green)
  79.   textutils.slowPrint("Microcraft MineUI Live")
  80.   term.setBackgroundColor(colors.black)
  81.   local event, click, x, y = os.pullEvent("mouse_click")
  82.   if x>0 and x<10 and y == 18 then term.clear() term.setCursorPos(1,1) error("") end
  83.   if x>0 and x<10 and y == 17 then
  84.   term.setCursorPos(1,2)
  85.   print("Ustawienia MineCore")
  86.   print("Zmien nazwe komputera")
  87.   print("[Zmien]")
  88.   print("Zainstaluj system dla wiekszej ilosci ustawien")
  89.   local event, click, x, y = os.pullEvent("mouse_click")
  90.   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()
  91.  os.setComputerLabel(nazwa) os.reboot() end
  92.   end
  93.   if x>0 and x<10 and y == 16 then
  94.    term.clear()
  95.    term.setCursorPos(1,1)
  96.    print("Instaluje....")
  97.    term.setCursorPos(20,19)
  98.    write("/startup")
  99.    shell.run("startup")
  100.    term.setCursorPos(1,17)
  101.    shell.run("pastebin get kKf7CrbK startup")
  102.    term.setCursorPos(20,19)
  103.    write("/os/")
  104.    shell.run("mkdir os")
  105.    term.setCursorPos(20,19)
  106.    write("/os/.menu")
  107.    term.setCursorPos(1,17)
  108.    shell.run("pastebin get PrJD6dYc /os/.menu")
  109.    term.clear()
  110.    term.setCursorPos(20,19)
  111.    write("/os/.info")
  112.    term.clearLine()
  113.    term.setCursorPos(1,17)
  114.    shell.run("pastebin get EAKFCQeZ /os/.info")
  115.    term.setCursorPos(20,19)
  116.    write("/os/.2048")
  117.    term.setCursorPos(1,17)
  118.    shell.run("pastebin get u0urwgNc /os/.2048")
  119.    term.setCursorPos(20,19)
  120.    write("/os/.paint")
  121.    term.setCursorPos(1,17)
  122.    shell.run("pastebin get pzWSRqNF /os/.paint")
  123.    term.setCursorPos(20,19)
  124.    write("/os/.kolko")
  125.    term.setCursorPos(1,17)
  126.    shell.run("pastebin get bV0tCQTr /os/.kolko")
  127.    term.setCursorPos(20,19)
  128.    write("/os/.luaide")
  129.    term.setCursorPos(1,17)
  130.    shell.run("pastebin get vyAZc6tJ /os/.luaide")
  131.    term.clear()
  132.    term.setCursorPos(20,19)
  133.    write("/os/icon")
  134.    term.setCursorPos(1,17)
  135.    shell.run("pastebin get KkPMhn2Q /os/icon")
  136.    term.setCursorPos(1,17)
  137.    shell.run("pastebin get nYY24idJ /os/.pulpit")
  138.    term.setCursorPos(1,17)
  139.    shell.run("pastebin get Y1zrxZ38 /os/.programy")
  140.    term.setCursorPos(1,17)
  141.    shell.run("pastebin get jM6b3Lwf /os/.ustawienia")
  142.    term.clear()
  143.    sleep(4)
  144.    term.setCursorPos(1,1)
  145.    print("Gotowe! Trwa ponowne uruchomienie komputera.")
  146.    os.setComputerLabel("MineCore PC")
  147.    os.reboot()
  148.   end
  149.  if x == 50 and y == 19 then os.reboot() end
  150.  if x == 51 and y == 19 then os.shutdown() end
  151. end
  152. end
  153. end
  154. if jezyk == "2" then
  155.  while true do
  156.  term.clear()
  157.  if fs.exists("/os/.pulpit") then obrazek = 1 else obrazek = 0 end
  158.  local image = paintutils.loadImage("/os/.pulpit")
  159.  if obrazek == 1 then paintutils.drawImage(image, 1, 1) else term.setBackgroundColor(colors.black) term.clear()
  160.  term.setBackgroundColor(colors.black) end
  161.  term.setTextColor(colors.white)
  162.  term.setCursorPos(1,19)
  163.  write("Start")
  164.  local event, click, x, y = os.pullEvent("mouse_click")
  165.  if x>0 and x<6 and y == 19  then
  166. term.setBackgroundColor(colors.blue)
  167.   term.setCursorPos(1,18)
  168.   print("Wyjdz do CraftOS      ")
  169.   term.setCursorPos(1,17)
  170.   print("Zainstaluj Minedows   ")
  171.   term.setCursorPos(1,16)
  172.   term.setBackgroundColor(colors.green)
  173.   print("Microcraft MineUI Live")
  174.   term.setBackgroundColor(colors.black)
  175.   local event, click, x, y = os.pullEvent("mouse_click")
  176.   if x>0 and x<10 and y == 18 then term.clear() term.setCursorPos(1,1) error("") end
  177.   if x>0 and x<10 and y == 17 then
  178.    term.clear()
  179.    term.setCursorPos(1,1)
  180.    print("Instaluje....")
  181.    term.setCursorPos(20,19)
  182.    write("/startup")
  183.    shell.run("startup")
  184.    term.setCursorPos(1,17)
  185.    shell.run("pastebin get nSZRyEw0 startup")
  186.    term.setCursorPos(20,19)
  187.    write("/os/")
  188.    shell.run("mkdir os")
  189.    term.setCursorPos(20,19)
  190.    write("/os/.menu")
  191.    term.setCursorPos(1,17)
  192.    shell.run("pastebin get tQVK3mAj /os/.menu")
  193.    term.clear()
  194.    term.setCursorPos(20,19)
  195.    write("/os/.informacje")
  196.    term.clearLine()
  197.    term.setCursorPos(1,17)
  198.    shell.run("pastebin get SyyZEXpA /os/.informacje")
  199.    term.setCursorPos(20,19)
  200.    write("/os/.2048")
  201.    term.setCursorPos(1,17)
  202.    shell.run("pastebin get u0urwgNc /os/.2048")
  203.    term.setCursorPos(20,19)
  204.    write("/os/.gry")
  205.    term.setCursorPos(1,17)
  206.    shell.run("pastebin get Q7TRBB4U /os/.gry")
  207.    term.setCursorPos(20,19)
  208.    write("/os/.kolko")
  209.    term.setCursorPos(1,17)
  210.    shell.run("pastebin get bV0tCQTr /os/.kolko")
  211.    term.setCursorPos(20,19)
  212.    write("/os/.luaide")
  213.    term.setCursorPos(1,17)
  214.    shell.run("pastebin get YXgn6m6p /os/.programy")
  215.    term.setCursorPos(1,17)
  216.    shell.run("pastebin get 2uECXPh2 /os/.explorer")
  217.    term.clear()
  218.    term.setCursorPos(20,19)
  219.    write("/os/icon")
  220.    term.setCursorPos(1,17)
  221.    shell.run("pastebin get KkPMhn2Q /os/icon")
  222.    term.setCursorPos(1,17)
  223.    shell.run("pastebin get huKLkiuf /os/.surf")
  224.    term.setCursorPos(1,17)
  225.    shell.run("pastebin get fnCqqdwT /os/.update")
  226.    term.clear()
  227.    sleep(4)
  228.    term.setCursorPos(1,1)
  229.    print("Gotowe! Trwa ponowne uruchomienie komputera.")
  230.    os.setComputerLabel("MineCore PC")
  231.    os.reboot()
  232.   end
  233.  if x == 50 and y == 19 then os.reboot() end
  234.  if x == 51 and y == 19 then os.shutdown() end
  235. end
  236. end
  237. end
  238. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement