Don't auto update check if first run check failed

This commit is contained in:
Openarl
2017-05-19 15:23:44 +10:00
parent 85d137abd9
commit 8be496d933
2 changed files with 2 additions and 2 deletions

View File

@@ -67,7 +67,7 @@ function launch:OnInit()
end
end
if not self.devMode then
if not self.devMode and not firstRunFile then
-- Run a background update check if developer mode is off
self:CheckForUpdate(true)
end

View File

@@ -4,7 +4,7 @@
<Source part="program" url="https://raw.githubusercontent.com/Openarl/PathOfBuilding/{branch}/"/>
<Source part="tree" url="https://raw.githubusercontent.com/Openarl/PathOfBuilding/{branch}/tree.zip"/>
<Source url="https://raw.githubusercontent.com/Openarl/PathOfBuilding/{branch}/runtime-win32.zip" part="runtime" platform="win32"/>
<File sha1="a5b398711500bcf9be127c6d4e2e3eaf0eeb35fd" name="Launch.lua" part="program"/>
<File sha1="2fb719ed2a9648b2dd13a137f650b3c0e48705fa" name="Launch.lua" part="program"/>
<File sha1="72b9bea1871e94a643e4471fd84bbedbc7810336" name="UpdateCheck.lua" part="program"/>
<File sha1="4f17937f2b37784e169a3792b235f2a0a3961e61" name="UpdateApply.lua" part="program"/>
<File sha1="125d41380b8ade6a3a4f331ad787946f3bd280c5" name="changelog.txt" part="program"/>