Don't use executable name as CFBundleName value

This commit is contained in:
Nick Korotysh 2021-04-18 12:06:12 +03:00
parent c7c7924d37
commit 29e6b229ac
No known key found for this signature in database
GPG key ID: 7D0D4117C97CCC46
2 changed files with 2 additions and 2 deletions

2
dist/mac/Info.plist vendored
View file

@ -47,7 +47,7 @@
</dict>
</array>
<key>CFBundleName</key>
<string>@EXECUTABLE@</string>
<string>qBittorrent</string>
<key>CFBundleIconFile</key>
<string>qbittorrent_mac.icns</string>
<key>CFBundleInfoDictionaryVersion</key>

View file

@ -85,7 +85,7 @@ if (CMAKE_SYSTEM_NAME STREQUAL "Darwin")
)
set_target_properties(qbt_app PROPERTIES
MACOSX_BUNDLE ON
MACOSX_BUNDLE_BUNDLE_NAME "${EXECUTABLE}"
MACOSX_BUNDLE_BUNDLE_NAME "qBittorrent"
MACOSX_BUNDLE_INFO_PLIST ${qBittorrent_BINARY_DIR}/dist/mac/Info.plist
)
target_sources(qbt_app PRIVATE