Update installer.lua
This commit is contained in:
parent
2d41f527cc
commit
00ac3ffd07
1 changed files with 16 additions and 0 deletions
|
@ -4,6 +4,22 @@ if not pocket or not term.isColor() then
|
||||||
print("sPhone is only for Advanced Pocket Computers!")
|
print("sPhone is only for Advanced Pocket Computers!")
|
||||||
return
|
return
|
||||||
end
|
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
|
if fs.exists("/startup") then
|
||||||
fs.delete("/startup")
|
fs.delete("/startup")
|
||||||
|
|
Loading…
Reference in a new issue