From: Michael Gilbert Date: Tue, 13 Sep 2022 00:46:21 +0000 (+0100) Subject: do not interfere with user file type associations X-Git-Tag: archive/raspbian/7.0_repack-10+rpi1~2^2^2^2~27 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=f0d1e188a612d49a3d196043f5f2d890636966c6;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") ||