Update tweaks

This commit is contained in:
Openarl
2016-10-31 19:36:40 +10:00
parent 6d99f0e231
commit 4a58217b8c
2 changed files with 4 additions and 2 deletions

View File

@@ -171,7 +171,9 @@ downloadFile(localSource.."changelog.txt", scriptPath.."/changelog.txt")
local failedFile = false
local zipFiles = { }
for index, data in ipairs(updateFiles) do
UpdateProgress("Downloading %d/%d", index, #updateFiles)
if UpdateProgress then
UpdateProgress("Downloading %d/%d", index, #updateFiles)
end
local partSources = remoteSources[data.part]
local source = partSources[localPlatform] or partSources["any"]
source = source:gsub("{branch}", localBranch)

View File

@@ -5,7 +5,7 @@
<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="6bb074e0d3a4043f0e5dcbd25c33f8e5e1f5cfe0" name="Launch.lua" part="program"/>
<File sha1="313078c54ba6cb8d8ca365924b2ee63f49a30c4e" name="UpdateCheck.lua" part="program"/>
<File sha1="7b548144b6c14e856615b7a684ac891943231223" name="UpdateCheck.lua" part="program"/>
<File sha1="4f17937f2b37784e169a3792b235f2a0a3961e61" name="UpdateApply.lua" part="program"/>
<File sha1="0bd9caf1b0f69fc72d1be5feaf9c87313dfbda2a" name="changelog.txt" part="program"/>
<File sha1="aef7145f378d0a1d5dc6f5f2d3c08d2a1b6ef264" name="Classes/BuildListControl.lua" part="program"/>