Update sPhone.lua

This commit is contained in:
Ale32bit 2015-11-20 18:39:41 +01:00
parent d22999053a
commit bec6abd205

View file

@ -582,7 +582,7 @@ end
--end --end
if not sPhone.locked then if not sPhone.locked then
login() sPhone.lock()
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")
@ -887,6 +887,7 @@ end
end end
sPhone.lock = login sPhone.lock = login
sPhone.login = login
local newVersion = http.get("https://raw.githubusercontent.com/Sertex-Team/sPhone/master/src/version").readLine() local newVersion = http.get("https://raw.githubusercontent.com/Sertex-Team/sPhone/master/src/version").readLine()
if newVersion ~= sPhone.version then if newVersion ~= sPhone.version then