Update sPhone.lua

This commit is contained in:
Ale2610 2015-09-02 14:44:57 +02:00
parent 919452cc56
commit 013cd43d47

View file

@ -553,14 +553,14 @@ local function kernel()
end end
end end
login()
local newVersion = http.get("https://raw.githubusercontent.com/Sertex-Team/sPhone/master/src/version").readAll() local newVersion = http.get("https://raw.githubusercontent.com/Sertex-Team/sPhone/master/src/version").readAll()
if newVersion ~= sPhone.version then if newVersion ~= sPhone.version then
sPhone.newUpdate = true sPhone.newUpdate = true
else else
sPhone.newUpdate = false sPhone.newUpdate = false
end end
login()
end end