Merge pull request #15910 from luiscuenca/WLdefaultScriptsOverride

DEV-166: Instrument the Windows Launcher to use the defaultScriptsOverride parameter
This commit is contained in:
Shannon Romano 2019-07-10 18:44:54 -07:00 committed by GitHub
commit eb1cb3b11c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -296,8 +296,9 @@ HWND LauncherManager::launchApplication() {
LauncherManager::getAndCreatePaths(PathType::Interface_Directory, installDir);
CString interfaceExe = installDir + _T("\\interface.exe");
CString urlParam = _T("--url \"") + _domainURL + ("\" ");
CString scriptsURL = installDir + _T("\\scripts\\simplifiedUI");
CString scriptsParam = _T("--scripts \"") + scriptsURL + ("\" ");
CString scriptsURL = installDir + _T("\\scripts\\simplifiedUIBootstrapper.js");
scriptsURL.Replace(_T("\\"), _T("/"));
CString scriptsParam = _T("--defaultScriptsOverride \"") + scriptsURL + ("\" ");
CString cacheDir;
LauncherManager::getAndCreatePaths(PathType::Content_Directory, cacheDir);
CString cacheParam = _T("--cache \"") + cacheDir + ("\" ");