Merge pull request #14828 from Kolcha/bundle_name_4_3

Don't use executable name as CFBundleName value (v4_3_x backport)
This commit is contained in:
Vladimir Golovnev 2021-04-25 07:02:41 +03:00 committed by GitHub
commit b2a43eeffc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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

@ -93,7 +93,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