Update sPhone.lua
This commit is contained in:
parent
62a8b83c14
commit
c7c58586ba
1 changed files with 8 additions and 5 deletions
|
@ -512,11 +512,14 @@ end
|
||||||
end
|
end
|
||||||
|
|
||||||
local function home()
|
local function home()
|
||||||
if not fs.exists("/.sPhone/config/resetDBNews") then
|
--if not fs.exists("/.sPhone/config/resetDBNews") then
|
||||||
sPhone.winOk("We wiped sID Database","for security issues")
|
--sPhone.winOk("We wiped sID Database","for security issues")
|
||||||
local f = fs.open("/.sPhone/config/resetDBNews","w")
|
--local f = fs.open("/.sPhone/config/resetDBNews","w")
|
||||||
f.write("Ignore me")
|
--f.write("Ignore me")
|
||||||
f.close()
|
--f.close()
|
||||||
|
--end
|
||||||
|
if fs.exists("/.sPhone/config/resetDBNews") then
|
||||||
|
fs.delete("/.sPhone/config/resetDBNews")
|
||||||
end
|
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)
|
||||||
|
|
Loading…
Reference in a new issue