Always show updater errors
This commit is contained in:
parent
a91cb5c8e7
commit
28b4514342
@ -27,6 +27,7 @@
|
||||
#define DATA_PATH_DEV "data-dev/"
|
||||
|
||||
#define ERR_UPDATE_CHECK_FAIL "Failed to check for updates"
|
||||
#define ERR_UPDATE_CHECK_FAIL_BAD_RESPONSE "Bad response"
|
||||
#define ERR_DOWNLOAD_FAIL "Failed to download file "
|
||||
#define ERR_WRITE_FAIL "Failed to write file "
|
||||
|
||||
@ -345,7 +346,7 @@ namespace updater
|
||||
|
||||
if (!j.IsArray())
|
||||
{
|
||||
set_update_check_status(true, false, ERR_UPDATE_CHECK_FAIL);
|
||||
set_update_check_status(true, false, ERR_UPDATE_CHECK_FAIL_BAD_RESPONSE);
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -12,11 +12,6 @@ function startupdatecheck(popup, autoclose)
|
||||
end
|
||||
|
||||
if (not updater.getupdatecheckstatus()) then
|
||||
if (autoclose) then
|
||||
LUI.FlowManager.RequestLeaveMenu(popup)
|
||||
return
|
||||
end
|
||||
|
||||
popup.text:setText("Error: " .. updater.getlasterror())
|
||||
return
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user