mirror of
https://github.com/overte-org/overte.git
synced 2025-08-10 04:12:46 +02:00
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:
commit
b7873a6194
1 changed files with 9 additions and 1 deletions
|
@ -510,9 +510,17 @@ void LauncherManager::getMostRecentBuilds(CString& launcherUrlOut, CString& laun
|
||||||
if (domainName.GetEnvironmentVariable(L"HQ_LAUNCHER_BUILDS_DOMAIN")) {
|
if (domainName.GetEnvironmentVariable(L"HQ_LAUNCHER_BUILDS_DOMAIN")) {
|
||||||
addToLog(_T("Using overridden builds domain: ") + domainName);
|
addToLog(_T("Using overridden builds domain: ") + domainName);
|
||||||
useHTTPS = false;
|
useHTTPS = false;
|
||||||
|
} else {
|
||||||
|
// 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 {
|
} else {
|
||||||
domainName = L"thunder.highfidelity.com";
|
domainName = L"thunder.highfidelity.com";
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
CString pathName;
|
CString pathName;
|
||||||
if (pathName.GetEnvironmentVariable(L"HQ_LAUNCHER_BUILDS_PATH")) {
|
if (pathName.GetEnvironmentVariable(L"HQ_LAUNCHER_BUILDS_PATH")) {
|
||||||
|
|
Loading…
Reference in a new issue