From 3ada5b9bc832cc612a569664de00520f00f7e558 Mon Sep 17 00:00:00 2001 From: Nadia Holmquist Pedersen Date: Sat, 15 Apr 2023 20:59:27 +0200 Subject: 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. --- res/melon.plist.in | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) (limited to 'res') 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 @@ CFBundleDocumentTypes + CFBundleTypeName + Nintendo DS ROM CFBundleTypeExtensions nds srl + dsi + ids CFBundleTypeRole Viewer + + CFBundleTypeName + Game Boy Advance ROM + CFBundleTypeExtensions + + gba + agb + + CFBundleTypeRole + Viewer + LSHandlerRank + Alternate + + + CFBundleTypeName + Archive containing ROM + CFBundleTypeExtensions + + zip + 7z + rar + tar + tar.gz + tgz + tar.xz + txz + tar.bz2 + tbz2 + tar.lz4 + tlz4 + tar.zst + tzst + tar.Z + taz + tar.lz + tar.lzma + tlz + tar.lrz + tlrz + tar.lzo + tzo + + CFBundleTypeRole + Viewer + LSHandlerRank + Alternate + -- cgit v1.2.3