From 06bff0159c9eddc5111859d1ca315708152ac61b Mon Sep 17 00:00:00 2001
From: shinra-electric <50119606+shinra-electric@users.noreply.github.com>
Date: Mon, 11 Dec 2023 21:49:07 +0100
Subject: [PATCH] Correctly set filetypes in Info.plist (#6023)
Currently the filetype association is not working.
This should hopefully fix it.
---
distribution/macos/Info.plist | 27 +++++++++++++++++++--------
1 file changed, 19 insertions(+), 8 deletions(-)
diff --git a/distribution/macos/Info.plist b/distribution/macos/Info.plist
index 51c71eaa16..53929f95eb 100644
--- a/distribution/macos/Info.plist
+++ b/distribution/macos/Info.plist
@@ -10,14 +10,25 @@
Ryujinx
CFBundleIconFile
Ryujinx.icns
- CFBundleTypeExtensions
-
- nca
- nro
- nso
- nsp
- xci
-
+ CFBundleDocumentTypes
+
+
+ CFBundleTypeExtensions
+
+ nca
+ nro
+ nso
+ nsp
+ xci
+
+ CFBundleTypeName
+ Nintendo Switch File
+ CFBundleTypeRole
+ Viewer
+ LSHandlerRank
+ Default
+
+
CFBundleIdentifier
org.ryujinx.Ryujinx
CFBundleInfoDictionaryVersion