Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function draw()
- x, y = term.getSize()
- paintutils.drawFilledBox(1, 1, x, y, colors.orange )
- paintutils.drawFilledBox(1, 1, x, 1, colors.gray)
- term.setCursorPos(1,1)
- term.setBackgroundColor(colors.lightGray)
- term.setTextColor(colors.white)
- term.write("[START]")
- x = math.floor(x / 2 - 8)
- y = math.floor(y / 2 - 3)
- paintutils.drawFilledBox(x, y, x + 16, y + 6, colors.white )
- paintutils.drawFilledBox(x, y, x+16, y, colors.gray)
- term.setCursorPos(x, y)
- term.write("Installer")
- sleep(0.3)
- end
- draw()
- function s(z)
- shell.run(z)
- end
- function i(x, y)
- shell.run("pastebin get " .. x .. " " .. y)
- end
- draw()
- s("mkdir /home/apps")
- draw()
- s("mkdir /home/gui")
- file = fs.open("/home/gui/data", "w")
- file.write("orange")
- file.flush()
- file.close()
- draw()
- i("vH6vGeu4", "/home/gui/desktop")
- draw()
- i("etGgzZn8", "/home/config.db")
- draw()
- i("nSMXNE5x", "/home/cd")
- draw()
- i("BHrp0dLt", "/home/termapi")
- draw()
- i("eHZ5nucH", "/home/term")
- draw()
- i("K6cKV4Gj", "/startup")
- draw()
- i("6ThurChD", "/home/nano")
- draw()
- i("vyAZc6tJ", "/home/luaide")
- draw()
- i("pnzdr8FB", "/home/Files")
- draw()
- i("VDUGPdiA", "/home/apps/quest")
- draw()
- i("eQTRCEt9", "/home/dbapi")
- draw()
- i("QWfprnTx", "/home/wget")
- draw()
- i("CULLU6Qm", "/home/gui/customize")
- i("LB8jD1tk", "/home/passwd")
- os.reboot()
Advertisement
Add Comment
Please, Sign In to add comment