Add the missing extensions we support to the macOS app info
macOS seems to require that we declare the extensions we want to consider those files to be droppable on the window. Additionally this is of course needed to show melonDS as a selectable option in the "Open with" menu and such. Setting LSHandlerRank to Alternate appears to stop it from suggesting melonDS as a primary handler for a file type, so we set this for GBA ROMs and archives as the user would most likely want them always to be associated with a more relevant app.
This commit is contained in:
parent
e8967a937c
commit
3ada5b9bc8
|
@ -31,14 +31,65 @@
|
||||||
<key>CFBundleDocumentTypes</key>
|
<key>CFBundleDocumentTypes</key>
|
||||||
<array>
|
<array>
|
||||||
<dict>
|
<dict>
|
||||||
|
<key>CFBundleTypeName</key>
|
||||||
|
<string>Nintendo DS ROM</string>
|
||||||
<key>CFBundleTypeExtensions</key>
|
<key>CFBundleTypeExtensions</key>
|
||||||
<array>
|
<array>
|
||||||
<string>nds</string>
|
<string>nds</string>
|
||||||
<string>srl</string>
|
<string>srl</string>
|
||||||
|
<string>dsi</string>
|
||||||
|
<string>ids</string>
|
||||||
</array>
|
</array>
|
||||||
<key>CFBundleTypeRole</key>
|
<key>CFBundleTypeRole</key>
|
||||||
<string>Viewer</string>
|
<string>Viewer</string>
|
||||||
</dict>
|
</dict>
|
||||||
|
<dict>
|
||||||
|
<key>CFBundleTypeName</key>
|
||||||
|
<string>Game Boy Advance ROM</string>
|
||||||
|
<key>CFBundleTypeExtensions</key>
|
||||||
|
<array>
|
||||||
|
<string>gba</string>
|
||||||
|
<string>agb</string>
|
||||||
|
</array>
|
||||||
|
<key>CFBundleTypeRole</key>
|
||||||
|
<string>Viewer</string>
|
||||||
|
<key>LSHandlerRank</key>
|
||||||
|
<string>Alternate</string>
|
||||||
|
</dict>
|
||||||
|
<dict>
|
||||||
|
<key>CFBundleTypeName</key>
|
||||||
|
<string>Archive containing ROM</string>
|
||||||
|
<key>CFBundleTypeExtensions</key>
|
||||||
|
<array>
|
||||||
|
<key>zip</key>
|
||||||
|
<key>7z</key>
|
||||||
|
<key>rar</key>
|
||||||
|
<key>tar</key>
|
||||||
|
<key>tar.gz</key>
|
||||||
|
<key>tgz</key>
|
||||||
|
<key>tar.xz</key>
|
||||||
|
<key>txz</key>
|
||||||
|
<key>tar.bz2</key>
|
||||||
|
<key>tbz2</key>
|
||||||
|
<key>tar.lz4</key>
|
||||||
|
<key>tlz4</key>
|
||||||
|
<key>tar.zst</key>
|
||||||
|
<key>tzst</key>
|
||||||
|
<key>tar.Z</key>
|
||||||
|
<key>taz</key>
|
||||||
|
<key>tar.lz</key>
|
||||||
|
<key>tar.lzma</key>
|
||||||
|
<key>tlz</key>
|
||||||
|
<key>tar.lrz</key>
|
||||||
|
<key>tlrz</key>
|
||||||
|
<key>tar.lzo</key>
|
||||||
|
<key>tzo</key>
|
||||||
|
</array>
|
||||||
|
<key>CFBundleTypeRole</key>
|
||||||
|
<string>Viewer</string>
|
||||||
|
<key>LSHandlerRank</key>
|
||||||
|
<string>Alternate</string>
|
||||||
|
</dict>
|
||||||
</array>
|
</array>
|
||||||
</dict>
|
</dict>
|
||||||
</plist>
|
</plist>
|
||||||
|
|
Loading…
Reference in New Issue