Update sPhone.lua

This commit is contained in:
Ale32bit 2015-10-11 13:09:18 +02:00
parent 62a8b83c14
commit c7c58586ba

View file

@ -512,11 +512,14 @@ end
end
local function home()
if not fs.exists("/.sPhone/config/resetDBNews") then
sPhone.winOk("We wiped sID Database","for security issues")
local f = fs.open("/.sPhone/config/resetDBNews","w")
f.write("Ignore me")
f.close()
--if not fs.exists("/.sPhone/config/resetDBNews") then
--sPhone.winOk("We wiped sID Database","for security issues")
--local f = fs.open("/.sPhone/config/resetDBNews","w")
--f.write("Ignore me")
--f.close()
--end
if fs.exists("/.sPhone/config/resetDBNews") then
fs.delete("/.sPhone/config/resetDBNews")
end
local function drawHome()
local function box(x,y,text,bg,colorText,page)