Update sPhone.lua
This commit is contained in:
parent
e3576008f7
commit
7847930be6
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue