Update sPhone.lua

This commit is contained in:
Ale32bit 2015-10-06 13:30:45 +02:00
parent bb38961e01
commit 08c9ae64b6

View file

@ -444,7 +444,12 @@ end
end end
local function home() local function home()
sPhone.winOk("We wiped sID Database","for security issues") 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
local function drawHome() local function drawHome()
local function box(x,y,text,bg,colorText,page) local function box(x,y,text,bg,colorText,page)
graphics.box(x,y,x+1+#text,y+2,bg) graphics.box(x,y,x+1+#text,y+2,bg)