From 00ac3ffd07c585d1a21490f5c917a42713c6cad2 Mon Sep 17 00:00:00 2001 From: Ale32bit Date: Sat, 15 Oct 2016 22:29:09 +0200 Subject: [PATCH] Update installer.lua --- src/installer.lua | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/src/installer.lua b/src/installer.lua index 4478d61..0736b58 100644 --- a/src/installer.lua +++ b/src/installer.lua @@ -4,6 +4,22 @@ if not pocket or not term.isColor() then print("sPhone is only for Advanced Pocket Computers!") return end +term.setBackgroundColor(colors.black) +term.setTextColor(colors.white) +term.clear() +term.setCursorPos(1,1) +print("sPhone installed - BeaconNet") +print("This project is not developed anymore!") +print("Press enter to start installation") +print("Press backspace to cancel") +while true do + local _,k = os.pullEvent("key") + if k == 28 then + break + elseif k == 14 then + return + end +end if fs.exists("/startup") then fs.delete("/startup")