Commit e86e2285 authored by Alex Henrie's avatar Alex Henrie Committed by Alexandre Julliard

winemenubuilder: Disallow desktop integration for batch files.

parent 474536c0
......@@ -1965,7 +1965,8 @@ static BOOL write_freedesktop_mime_type_entry(const WCHAR *packages_dir, const W
static BOOL is_extension_banned(LPCWSTR extension)
{
/* These are managed through external tools like wine.desktop, to evade malware created file type associations */
if (!wcsicmp(extension, L".com") ||
if (!wcsicmp(extension, L".bat") ||
!wcsicmp(extension, L".com") ||
!wcsicmp(extension, L".exe") ||
!wcsicmp(extension, L".msi"))
return TRUE;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment