Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local w, h = term.getSize()
- function Desktop()
- shell.run("os/Handlers/PocketDesktop.lua")
- end
- function Listener()
- if peripheral.isPresent("modem") then
- shell.run("os/Handlers/NetworkReceiver.lua")
- end
- end
- function Graphics()
- shell.run("os/Handlers/GraphicsHandler.lua","start")
- end
- function TaskManager()
- end
- function Ani()
- shell.run("Player","os/BootCompletion.vid",w/2 - 7, h/8)
- end
- function BootRun()
- shell.run("boot/APIloader.lua","start")
- end
- settings.load("os/settings.txt")
- term.clear()
- term.setCursorPos(1,1)
- if settings.get("os_activated") == true then
- BootRun()
- Ani()
- parallel.waitForAll(Listener,Desktop,Graphics,TaskManager)
- else
- print("////SystemMessage////")
- print("to activate your OS, Type the following Command")
- print("'System process activation'")
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement