From: Michael Gilbert Date: Wed, 6 Jul 2022 00:44:32 +0000 (+0100) Subject: do not interfere with user file type associations X-Git-Tag: archive/raspbian/7.0_repack-10+rpi1~3^2~24 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=163df389abbe59b6b297a5143b7f9b95b855744e;p=wine.git do not interfere with user file type associations bug: https://bugs.winehq.org/show_bug.cgi?id=28159 bug-debian: https://bugs.debian.org/845334 Gbp-Pq: Topic disable Gbp-Pq: Name file-associations.patch --- diff --git a/programs/winemenubuilder/winemenubuilder.c b/programs/winemenubuilder/winemenubuilder.c index 07e43e8..523205e 100644 --- a/programs/winemenubuilder/winemenubuilder.c +++ b/programs/winemenubuilder/winemenubuilder.c @@ -1950,6 +1950,9 @@ static BOOL write_freedesktop_mime_type_entry(const WCHAR *packages_dir, const W static BOOL is_extension_banned(LPCWSTR extension) { + /* Ban all file type associations since most people don't want wine intefering with their preferences */ + return TRUE; + /* These are managed through external tools like wine.desktop, to evade malware created file type associations */ if (!wcsicmp(extension, L".com") || !wcsicmp(extension, L".exe") ||