diff --git a/repertory.iss.in b/repertory.iss.in index 43699e3a..abbd5c5f 100644 --- a/repertory.iss.in +++ b/repertory.iss.in @@ -162,7 +162,7 @@ Source: "3rd_party\winfsp-@WINFSP_VERSION@.msi"; DestDir: "{app}"; Flags: ignore [Icons] Name: "{group}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; Parameters: "-ui --hidden"; IconFilename: "{app}\icon.ico" -Name: "{userstartup}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; Parameters: "-ui --launch_only --hidden"; IconFilename: "{app}\icon.ico" +Name: "{userstartup}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; Parameters: "-ui -lo --hidden"; IconFilename: "{app}\icon.ico" [Run] Filename: "msiexec.exe"; WorkingDir: "{app}"; Parameters: "/a winfsp-@WINFSP_VERSION@.msi /norestart"; \ diff --git a/repertory/repertory/src/ui/mgmt_app_config.cpp b/repertory/repertory/src/ui/mgmt_app_config.cpp index e7b58e83..f5241d85 100644 --- a/repertory/repertory/src/ui/mgmt_app_config.cpp +++ b/repertory/repertory/src/ui/mgmt_app_config.cpp @@ -261,7 +261,7 @@ void mgmt_app_config::set_auto_start(bool auto_start) { #if defined(_WIN32) if (auto_start) { utils::shortcut_cfg cfg{}; - cfg.arguments = L"-ui -lo"; + cfg.arguments = L"-ui -lo --hidden"; cfg.exe_path = utils::path::combine(L".", {L"repertory"}); cfg.icon_path = utils::path::combine(L".", {L"icon.ico"}); cfg.shortcut_name = L"repertory";