[ui] Add auto-mount on first launch functionality #52
This commit is contained in:
@@ -243,8 +243,9 @@ auto create_shortcut(const shortcut_cfg &cfg, bool overwrite_existing) -> bool {
|
||||
}
|
||||
|
||||
if (not utils::file::file{lnk_path}.remove()) {
|
||||
utils::error::handle_error(
|
||||
function_name, "failed to remove existing shortcut|path|" + lnk_path);
|
||||
utils::error::handle_error(function_name,
|
||||
"failed to remove existing shortcut|path|" +
|
||||
utils::string::to_utf8(lnk_path));
|
||||
return false;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user