From 08c9ae64b6a8143c40d99604fe1ac84d992e3dd8 Mon Sep 17 00:00:00 2001 From: Ale32bit Date: Tue, 6 Oct 2015 13:30:45 +0200 Subject: [PATCH] Update sPhone.lua --- src/sPhone.lua | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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)