Skip to content

Commit 1bafcaa

Browse files
committed
always show updater errors
1 parent 717d489 commit 1bafcaa

2 files changed

Lines changed: 1 addition & 6 deletions

File tree

src/client/component/updater.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
#define DATA_PATH "data/"
2929
#define DATA_PATH_DEV "data-dev/"
3030

31-
#define ERR_UPDATE_CHECK_FAIL "Failed to check for updates"
31+
#define ERR_UPDATE_CHECK_FAIL "Failed to check for updates!\nMake sure your ISP is not blocking our backend (try using a VPN).\nCheck the console for more information."
3232
#define ERR_DOWNLOAD_FAIL "Failed to download file "
3333
#define ERR_WRITE_FAIL "Failed to write file "
3434

src/client/resources/ui_scripts/updater.lua

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,6 @@ function startupdatecheck(popup, autoclose)
1212
end
1313

1414
if (not updater.getupdatecheckstatus()) then
15-
if (autoclose) then
16-
LUI.FlowManager.RequestLeaveMenu(popup)
17-
return
18-
end
19-
2015
popup.text:setText(Engine.Localize("@MENU_ERROR") .. ": " .. updater.getlasterror())
2116
return
2217
end

0 commit comments

Comments
 (0)