We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent adee083 commit 412f03eCopy full SHA for 412f03e
1 file changed
shared/launcher_update_checker.cpp
@@ -63,6 +63,11 @@ namespace Shared {
63
bool downloadResult = FetchReleases(&fetchReleasesResult, _releasesInfo);
64
65
if (!downloadResult) {
66
+ // Double check with gitlab before resorting to steam (we may not have checked gitlab earlier).
67
+ if (!allowPreRelease && RemoteGitLabVersionMatches("versionlauncher", Launcher::LAUNCHER_VERSION)) {
68
+ fetchReleasesResult = curl::DownloadStringResult::DOWNLOAD_STRING_OK;
69
+ return false;
70
+ }
71
Logger::Warn("Failed to fetch releases from GitHub. Trying Steam...\n");
72
if (!std::filesystem::exists("steamentrydir.txt")) {
73
Logger::Warn("steamentrydir.txt does not exist. Cannot proceed.\n");
0 commit comments