1
0
mirror of https://github.com/d47081/qBittorrent.git synced 2025-08-30 07:32:06 +00:00

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> </dict>
</array> </array>
<key>CFBundleName</key> <key>CFBundleName</key>
<string>@EXECUTABLE@</string> <string>qBittorrent</string>
<key>CFBundleIconFile</key> <key>CFBundleIconFile</key>
<string>qbittorrent_mac.icns</string> <string>qbittorrent_mac.icns</string>
<key>CFBundleInfoDictionaryVersion</key> <key>CFBundleInfoDictionaryVersion</key>

View File

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