Mac: Add wua filetype to info.plist (#1039)

This commit is contained in:
shinra-electric 2023-12-10 08:30:08 +01:00 committed by GitHub
parent b6aaf66330
commit f6bb666abf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 14 additions and 0 deletions

View File

@ -82,6 +82,7 @@ if (MACOS_BUNDLE)
set(MACOSX_BUNDLE_CATEGORY "public.app-category.games") set(MACOSX_BUNDLE_CATEGORY "public.app-category.games")
set(MACOSX_MINIMUM_SYSTEM_VERSION "12.0") set(MACOSX_MINIMUM_SYSTEM_VERSION "12.0")
set(MACOSX_BUNDLE_TYPE_EXTENSION "wua")
set_target_properties(CemuBin PROPERTIES set_target_properties(CemuBin PROPERTIES
MACOSX_BUNDLE true MACOSX_BUNDLE true

View File

@ -30,5 +30,18 @@
<string>${MACOSX_BUNDLE_CATEGORY}</string> <string>${MACOSX_BUNDLE_CATEGORY}</string>
<key>LSMinimumSystemVersion</key> <key>LSMinimumSystemVersion</key>
<string>${MACOSX_MINIMUM_SYSTEM_VERSION}</string> <string>${MACOSX_MINIMUM_SYSTEM_VERSION}</string>
<key>CFBundleDocumentTypes</key>
<array>
<dict>
<key>CFBundleTypeExtensions</key>
<array>
<string>${MACOSX_BUNDLE_TYPE_EXTENSION}</string>
</array>
<key>CFBundleTypeName</key>
<string>Wii U File</string>
<key>CFBundleTypeRole</key>
<string>Viewer</string>
</dict>
</array>
</dict> </dict>
</plist> </plist>