[ui] Add auto-mount on first launch functionality #52
This commit is contained in:
@@ -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");
|
||||
|
Reference in New Issue
Block a user