mirror of
https://github.com/Alex313031/thorium.git
synced 2025-01-10 03:47:44 -03:00
Update shortcut.cc
This commit is contained in:
parent
8d3345145b
commit
2549b48efe
1 changed files with 2 additions and 3 deletions
|
@ -133,9 +133,8 @@ bool CreateOrUpdateShortcutLink(const FilePath& shortcut_path,
|
|||
}
|
||||
|
||||
if (properties.options & ShortcutProperties::PROPERTIES_ARGUMENTS) {
|
||||
if (FAILED(i_shell_link->SetArguments(properties.arguments.c_str()))) {
|
||||
i_shell_link->SetArguments(L"--autoplay-policy=user-gesture-required");
|
||||
}}
|
||||
if (FAILED(i_shell_link->SetArguments(properties.arguments.c_str())))
|
||||
return false;
|
||||
} else if (old_i_persist_file.Get()) {
|
||||
wchar_t current_arguments[MAX_PATH] = {0};
|
||||
if (SUCCEEDED(
|
||||
|
|
Loading…
Reference in a new issue