diff options
author | Nadia Holmquist Pedersen <nadia@nhp.sh> | 2023-04-15 20:59:27 +0200 |
---|---|---|
committer | Nadia Holmquist Pedersen <nadia@nhp.sh> | 2023-04-15 21:02:35 +0200 |
commit | 3ada5b9bc832cc612a569664de00520f00f7e558 (patch) | |
tree | 986202679b9d625834a3057f1027c0e4cfc21f2f /res/melon.plist.in | |
parent | e8967a937cf26f62952014f1580bdd9811deb8d1 (diff) |
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.
Diffstat (limited to 'res/melon.plist.in')
-rw-r--r-- | res/melon.plist.in | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/res/melon.plist.in b/res/melon.plist.in index 2dd219f..4c87eb9 100644 --- a/res/melon.plist.in +++ b/res/melon.plist.in @@ -31,14 +31,65 @@ <key>CFBundleDocumentTypes</key> <array> <dict> + <key>CFBundleTypeName</key> + <string>Nintendo DS ROM</string> <key>CFBundleTypeExtensions</key> <array> <string>nds</string> <string>srl</string> + <string>dsi</string> + <string>ids</string> </array> <key>CFBundleTypeRole</key> <string>Viewer</string> </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> </dict> </plist> |