diff --git a/repertory/repertory/src/ui/mgmt_app_config.cpp b/repertory/repertory/src/ui/mgmt_app_config.cpp index fd39d1b2..529275c8 100644 --- a/repertory/repertory/src/ui/mgmt_app_config.cpp +++ b/repertory/repertory/src/ui/mgmt_app_config.cpp @@ -248,8 +248,9 @@ void mgmt_app_config::set_auto_start(bool auto_start) { cfg.arguments = {L"-ui", L"-lo"}; cfg.exe_path = utils::path::combine(L".", {L"repertory"}); cfg.icon_path = utils::path::combine(L".", {L"icon.ico"}); - cfg.location = utils::path::absolute(L"."); cfg.shortcut_name = L"repertory"; + cfg.working_directory = utils::path::absolute(L"."); + if (utils::create_shortcut(cfg, false)) { utils::error::handle_info(function_name, "created auto-start entry|name|repertory");