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