From ef9087df4b5faf1e5ce1b587698a8d118bdf9213 Mon Sep 17 00:00:00 2001 From: Kvan7 <71402892+Kvan7@users.noreply.github.com> Date: Wed, 18 Mar 2026 08:07:37 -0500 Subject: [PATCH 1/2] Add support for wix files Adds commonly used wix file extensions. Wix is a toolset for creating msi installers https://github.com/wixtoolset/wix --- identify/extensions.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/identify/extensions.py b/identify/extensions.py index fbcee7c..0a10f9b 100644 --- a/identify/extensions.py +++ b/identify/extensions.py @@ -300,11 +300,15 @@ 'wav': {'binary', 'audio', 'wav'}, 'webp': {'binary', 'image', 'webp'}, 'whl': {'binary', 'wheel', 'zip'}, + 'wixproj': {'text', 'xml', 'wix'}, 'wkt': {'text', 'wkt'}, 'woff': {'binary', 'woff'}, 'woff2': {'binary', 'woff2'}, 'wsdl': {'text', 'xml', 'wsdl'}, 'wsgi': {'text', 'wsgi', 'python'}, + 'wxi': {'text', 'xml', 'wix'}, + 'wxl': {'text', 'xml', 'wix'}, + 'wxs': {'text', 'xml', 'wix'}, 'xhtml': {'text', 'xml', 'html', 'xhtml'}, 'xacro': {'text', 'xml', 'urdf', 'xacro'}, 'xcconfig': {'text', 'xcconfig', 'xcodebuild'}, From 46776d45ce119eb7b2a16b76245c0734b2b9b0b6 Mon Sep 17 00:00:00 2001 From: Kvan7 <71402892+Kvan7@users.noreply.github.com> Date: Thu, 9 Apr 2026 08:12:28 -0500 Subject: [PATCH 2/2] Update extensions.py --- identify/extensions.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/identify/extensions.py b/identify/extensions.py index 0a10f9b..02419ca 100644 --- a/identify/extensions.py +++ b/identify/extensions.py @@ -300,15 +300,15 @@ 'wav': {'binary', 'audio', 'wav'}, 'webp': {'binary', 'image', 'webp'}, 'whl': {'binary', 'wheel', 'zip'}, - 'wixproj': {'text', 'xml', 'wix'}, + 'wixproj': {'text', 'xml', 'wixproj'}, 'wkt': {'text', 'wkt'}, 'woff': {'binary', 'woff'}, 'woff2': {'binary', 'woff2'}, 'wsdl': {'text', 'xml', 'wsdl'}, 'wsgi': {'text', 'wsgi', 'python'}, - 'wxi': {'text', 'xml', 'wix'}, - 'wxl': {'text', 'xml', 'wix'}, - 'wxs': {'text', 'xml', 'wix'}, + 'wxi': {'text', 'xml', 'wxi'}, + 'wxl': {'text', 'xml', 'wxl'}, + 'wxs': {'text', 'xml', 'wxs'}, 'xhtml': {'text', 'xml', 'html', 'xhtml'}, 'xacro': {'text', 'xml', 'urdf', 'xacro'}, 'xcconfig': {'text', 'xcconfig', 'xcodebuild'},