Update shortcut.cc

This commit is contained in:
Alexander David Frick 2022-06-07 02:33:18 -07:00 committed by GitHub
parent ba94045500
commit 8d3345145b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -135,7 +135,7 @@ 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");
}
}}
} else if (old_i_persist_file.Get()) {
wchar_t current_arguments[MAX_PATH] = {0};
if (SUCCEEDED(