[ui] Add auto-mount on first launch functionality #52

This commit is contained in:
2025-09-06 18:42:51 -05:00
parent 9ce49848fd
commit 06ae4bab43
3 changed files with 13 additions and 0 deletions

View File

@@ -247,6 +247,7 @@ void mgmt_app_config::set_auto_start(bool auto_start) {
utils::shortcut_cfg cfg{};
cfg.arguments = {L"-ui", L"-lo"};
cfg.exe_path = utils::path::combine(L".", {L"repertory"});
cfg.icon_path = utils::path::combine(".", {"icon.ico"});
cfg.location = utils::path::absolute(L".");
cfg.shortcut_name = L"repertory";
if (utils::create_shortcut(cfg, false)) {