winemenubuilder: Disallow desktop integration for internet shortcuts.

This commit is contained in:
Alex Henrie 2023-10-29 15:14:32 -06:00 committed by Alexandre Julliard
parent b520a19fc2
commit 0f88c7c31f
Notes: Alexandre Julliard 2023-10-30 23:32:43 +01:00
Approved-by: Alexandre Julliard (@julliard)
Merge-Request: https://gitlab.winehq.org/wine/wine/-/merge_requests/4222

View file

@ -1968,7 +1968,8 @@ static BOOL is_extension_banned(LPCWSTR extension)
if (!wcsicmp(extension, L".bat") || if (!wcsicmp(extension, L".bat") ||
!wcsicmp(extension, L".com") || !wcsicmp(extension, L".com") ||
!wcsicmp(extension, L".exe") || !wcsicmp(extension, L".exe") ||
!wcsicmp(extension, L".msi")) !wcsicmp(extension, L".msi") ||
!wcsicmp(extension, L".url"))
return TRUE; return TRUE;
return FALSE; return FALSE;
} }