mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-06-20 07:20:36 +02:00
fixing interface and laucnher script argument
This commit is contained in:
parent
973e93aa2f
commit
01fab12942
2 changed files with 3 additions and 3 deletions
|
@ -5611,7 +5611,7 @@ void Application::resumeAfterLoginDialogActionTaken() {
|
||||||
scriptEngines->reloadLocalFiles();
|
scriptEngines->reloadLocalFiles();
|
||||||
|
|
||||||
// if the --scripts command-line argument was used.
|
// if the --scripts command-line argument was used.
|
||||||
if (!_defaultScriptsLocation.exists() && (arguments().indexOf(QString("--").append(SCRIPTS_SWITCH))) != -1) {
|
if (_defaultScriptsLocation.exists() && (arguments().indexOf(QString("--").append(SCRIPTS_SWITCH))) != -1) {
|
||||||
scriptEngines->loadDefaultScripts();
|
scriptEngines->loadDefaultScripts();
|
||||||
scriptEngines->defaultScriptsLocationOverridden(true);
|
scriptEngines->defaultScriptsLocationOverridden(true);
|
||||||
} else {
|
} else {
|
||||||
|
|
|
@ -343,14 +343,14 @@ static BOOL const DELETE_ZIP_FILES = TRUE;
|
||||||
@"--tokens", userToken,
|
@"--tokens", userToken,
|
||||||
@"--cache", contentPath,
|
@"--cache", contentPath,
|
||||||
@"--displayName", displayName,
|
@"--displayName", displayName,
|
||||||
@"--script", scriptsPath,
|
@"--scripts", scriptsPath,
|
||||||
@"--no-updater",
|
@"--no-updater",
|
||||||
@"--no-launcher", nil];
|
@"--no-launcher", nil];
|
||||||
} else {
|
} else {
|
||||||
arguments = [NSArray arrayWithObjects:
|
arguments = [NSArray arrayWithObjects:
|
||||||
@"--url" , domainUrl,
|
@"--url" , domainUrl,
|
||||||
@"--cache", contentPath,
|
@"--cache", contentPath,
|
||||||
@"--script", scriptsPath,
|
@"--scripts", scriptsPath,
|
||||||
@"--no-updater",
|
@"--no-updater",
|
||||||
@"--no-launcher", nil];
|
@"--no-launcher", nil];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue