Override default script

This commit is contained in:
luiscuenca 2019-07-10 16:05:24 -07:00
parent ebfbe46760
commit 94002436e9
No known key found for this signature in database
GPG key ID: 2387ECD129A6961D

View file

@ -296,8 +296,8 @@ 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");
CString scriptsParam = _T("--defaultScriptsOverride \"") + scriptsURL + ("\" ");
CString cacheDir;
LauncherManager::getAndCreatePaths(PathType::Content_Directory, cacheDir);
CString cacheParam = _T("--cache \"") + cacheDir + ("\" ");