bug fixes for top items, coloured text, action bar and updater

This commit is contained in:
OTCv8
2020-06-11 21:18:35 +02:00
parent 04b9c2590c
commit 8391355c42
12 changed files with 19 additions and 1928 deletions

View File

@@ -62,6 +62,7 @@ local function loadModules()
end
local function downloadFiles(url, files, index, retries, doneCallback)
if not updaterWindow then return end
local entry = files[index]
if not entry then -- finished
return doneCallback()
@@ -101,6 +102,7 @@ local function downloadFiles(url, files, index, retries, doneCallback)
end
local function updateFiles(data, keepCurrentFiles)
if not updaterWindow then return end
if type(data) ~= "table" then
return Updater.error("Invalid data from updater api (not table)")
end