Skip to content

Commit e0aaf63

Browse files
authored
macOS: Set values for empty keys in Info.plist (#425)
1 parent 9ebbfb3 commit e0aaf63

File tree

3 files changed

+8
-5
lines changed

3 files changed

+8
-5
lines changed

CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ if (ENABLE_VCPKG)
2121
endif()
2222
endif()
2323

24-
project(Cemu VERSION 2.0)
24+
project(Cemu VERSION 2.0.0)
2525

2626
list(APPEND CMAKE_MODULE_PATH "${PROJECT_SOURCE_DIR}/cmake")
2727

src/CMakeLists.txt

+7
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,13 @@ if (MACOS_BUNDLE)
7575
set(RESOURCE_FILES "${CMAKE_SOURCE_DIR}/src/resource/cemu.icns")
7676
target_sources(CemuBin PRIVATE "${RESOURCE_FILES}")
7777

78+
set(MACOSX_BUNDLE_ICON_FILE "cemu.icns")
79+
set(MACOSX_BUNDLE_GUI_IDENTIFIER "info.cemu.Cemu")
80+
set(MACOSX_BUNDLE_BUNDLE_NAME "Cemu")
81+
set(MACOSX_BUNDLE_SHORT_VERSION_STRING ${CMAKE_PROJECT_VERSION})
82+
set(MACOSX_BUNDLE_BUNDLE_VERSION ${CMAKE_PROJECT_VERSION})
83+
set(MACOSX_BUNDLE_COPYRIGHT "Copyright © 2022 Cemu Project")
84+
7885
set(MACOSX_BUNDLE_CATEGORY "public.app-category.games")
7986

8087
set_target_properties(CemuBin PROPERTIES

src/resource/MacOSXBundleInfo.plist.in

-4
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,12 @@
66
<string>English</string>
77
<key>CFBundleExecutable</key>
88
<string>${MACOSX_BUNDLE_EXECUTABLE_NAME}</string>
9-
<key>CFBundleGetInfoString</key>
10-
<string>${MACOSX_BUNDLE_INFO_STRING}</string>
119
<key>CFBundleIconFile</key>
1210
<string>${MACOSX_BUNDLE_ICON_FILE}</string>
1311
<key>CFBundleIdentifier</key>
1412
<string>${MACOSX_BUNDLE_GUI_IDENTIFIER}</string>
1513
<key>CFBundleInfoDictionaryVersion</key>
1614
<string>6.0</string>
17-
<key>CFBundleLongVersionString</key>
18-
<string>${MACOSX_BUNDLE_LONG_VERSION_STRING}</string>
1915
<key>CFBundleName</key>
2016
<string>${MACOSX_BUNDLE_BUNDLE_NAME}</string>
2117
<key>CFBundlePackageType</key>

0 commit comments

Comments
 (0)