Merge pull request #16114 from huffman/feat/win-launcher-thunder-override

DEV-457: Add HIFI_THUNDER_URL to win32 launcher
This commit is contained in:
Shannon Romano 2019-08-29 10:53:35 -07:00 committed by GitHub
commit b7873a6194
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -511,7 +511,15 @@ void LauncherManager::getMostRecentBuilds(CString& launcherUrlOut, CString& laun
addToLog(_T("Using overridden builds domain: ") + domainName);
useHTTPS = false;
} else {
domainName = L"thunder.highfidelity.com";
// We have 2 ways to adjust the domain, one of which forces http (HQ_LAUNCHER_BUILDS_DOMAIN),
// the other (HIFI_THUNDER_URL) of which uses https. They represent different use-cases, but
// would ideally be combined by including the protocol in the url, but because
// code is going to be replaced soon, we will leave it like this for now.
if (domainName.GetEnvironmentVariable(L"HIFI_THUNDER_URL")) {
addToLog(_T("Using overridden thunder url: ") + domainName);
} else {
domainName = L"thunder.highfidelity.com";
}
}
CString pathName;