Update sPhone.lua

This commit is contained in:
Ale32bit 2016-05-16 19:33:28 +02:00
parent e3576008f7
commit 7847930be6

View file

@ -656,6 +656,9 @@ end
if not sPhone.locked then if not sPhone.locked then
sPhone.lock() sPhone.lock()
if sPhone.newUpdate then
sPhone.winOk("New Update!")
end
end end
if fs.exists("/.sPhone/config/resetDBNews") then if fs.exists("/.sPhone/config/resetDBNews") then
fs.delete("/.sPhone/config/resetDBNews") fs.delete("/.sPhone/config/resetDBNews")
@ -897,7 +900,6 @@ end
if newVersion ~= sPhone.version then if newVersion ~= sPhone.version then
sPhone.newUpdate = true sPhone.newUpdate = true
sPhone.winOk("New Update!")
else else
sPhone.newUpdate = false sPhone.newUpdate = false
end end