diff --git a/src/sPhone.lua b/src/sPhone.lua index bb11c7d..bb70503 100644 --- a/src/sPhone.lua +++ b/src/sPhone.lua @@ -444,7 +444,12 @@ end end 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 box(x,y,text,bg,colorText,page) graphics.box(x,y,x+1+#text,y+2,bg)