aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorshinra-electric <50119606+shinra-electric@users.noreply.github.com>2023-12-11 21:49:07 +0100
committerGitHub <noreply@github.com>2023-12-11 21:49:07 +0100
commit06bff0159c9eddc5111859d1ca315708152ac61b (patch)
tree1e6877baa3c3a8d911d28fa965a2739e54285002
parent04ed8c1f83a469c9d9b190a2e2273230f47dc661 (diff)
Correctly set filetypes in Info.plist (#6023)1.1.1100
Currently the filetype association is not working. This should hopefully fix it.
-rw-r--r--distribution/macos/Info.plist27
1 files changed, 19 insertions, 8 deletions
diff --git a/distribution/macos/Info.plist b/distribution/macos/Info.plist
index 51c71eaa..53929f95 100644
--- a/distribution/macos/Info.plist
+++ b/distribution/macos/Info.plist
@@ -10,14 +10,25 @@
<string>Ryujinx</string>
<key>CFBundleIconFile</key>
<string>Ryujinx.icns</string>
- <key>CFBundleTypeExtensions</key>
- <array>
- <string>nca</string>
- <string>nro</string>
- <string>nso</string>
- <string>nsp</string>
- <string>xci</string>
- </array>
+ <key>CFBundleDocumentTypes</key>
+ <array>
+ <dict>
+ <key>CFBundleTypeExtensions</key>
+ <array>
+ <string>nca</string>
+ <string>nro</string>
+ <string>nso</string>
+ <string>nsp</string>
+ <string>xci</string>
+ </array>
+ <key>CFBundleTypeName</key>
+ <string>Nintendo Switch File</string>
+ <key>CFBundleTypeRole</key>
+ <string>Viewer</string>
+ <key>LSHandlerRank</key>
+ <string>Default</string>
+ </dict>
+ </array>
<key>CFBundleIdentifier</key>
<string>org.ryujinx.Ryujinx</string>
<key>CFBundleInfoDictionaryVersion</key>