Update sPhone.lua
This commit is contained in:
parent
09146199fa
commit
8bde48f830
1 changed files with 13 additions and 0 deletions
|
@ -61,6 +61,19 @@ local function kernel()
|
||||||
sleep(1)
|
sleep(1)
|
||||||
os.forceReboot()
|
os.forceReboot()
|
||||||
end
|
end
|
||||||
|
|
||||||
|
function home()
|
||||||
|
while true do
|
||||||
|
clear()
|
||||||
|
local reboot = gui.pulseButton({2, 3}, {colors.lime, colors.green}, "Reboot", os.reboot())
|
||||||
|
gui.render({reboot})
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
function login()
|
||||||
|
|
||||||
|
end
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
||||||
local ok, err = pcall(kernel)
|
local ok, err = pcall(kernel)
|
||||||
|
|
Loading…
Reference in a new issue