do not interfere with user file type associations
authorMichael Gilbert <mgilbert@debian.org>
Sat, 24 Sep 2022 17:29:03 +0000 (18:29 +0100)
committerMichael Gilbert <mgilbert@debian.org>
Sat, 24 Sep 2022 17:29:03 +0000 (18:29 +0100)
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

programs/winemenubuilder/winemenubuilder.c

index 07e43e81ff498aaf28187ac7bae000ca1af345c7..523205e5dc8141a210fc4ae223316bb97b5d3850 100644 (file)
@@ -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") ||