From 8bde48f8306429d0c98652d1889702d229906a22 Mon Sep 17 00:00:00 2001 From: Ale2610 Date: Fri, 31 Jul 2015 22:00:19 +0200 Subject: [PATCH] Update sPhone.lua --- src/sPhone.lua | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/src/sPhone.lua b/src/sPhone.lua index f3a0459..c973c5e 100644 --- a/src/sPhone.lua +++ b/src/sPhone.lua @@ -61,6 +61,19 @@ local function kernel() sleep(1) os.forceReboot() 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 local ok, err = pcall(kernel)