Update sPhone.lua
This commit is contained in:
parent
80754b5984
commit
d98b125556
1 changed files with 3 additions and 6 deletions
|
@ -763,13 +763,10 @@ end
|
|||
|
||||
sPhone.lock = login
|
||||
sPhone.login = login
|
||||
if not sPhone.devMode then
|
||||
local newVersion = http.get("https://raw.githubusercontent.com/Sertex-Team/sPhone/master/src/version").readLine()
|
||||
else
|
||||
local newVersion = "DEV MODE"
|
||||
end
|
||||
|
||||
if newVersion ~= sPhone.version and not sPhone.devMode then
|
||||
local newVersion = http.get("https://raw.githubusercontent.com/Sertex-Team/sPhone/master/src/version").readLine()
|
||||
|
||||
if newVersion ~= sPhone.version then
|
||||
sPhone.newUpdate = true
|
||||
else
|
||||
sPhone.newUpdate = false
|
||||
|
|
Loading…
Reference in a new issue