electron-126: implemented changes for single user install in user config

This commit is contained in:
Vishwas Shashidhar
2017-09-06 22:06:00 +05:30
parent 55c3714b2b
commit 1049807a14
2 changed files with 21 additions and 37 deletions

View File

@@ -117,8 +117,7 @@ function setupThenOpenMainWindow() {
isAppAlreadyOpen = true;
// allows installer to launch app and set auto startup mode then
// immediately quit.
// allows installer to launch app and set appropriate global / user config params.
let hasInstallFlag = getCmdLineArg(process.argv, '--install', true);
let perUserInstall = getCmdLineArg(process.argv, '--peruser', true);
if (!isMac && hasInstallFlag) {