Browse Source

Don't use executable name as CFBundleName value

adaptive-webui-19844
Nick Korotysh 4 years ago
parent
commit
29e6b229ac
No known key found for this signature in database
GPG Key ID: 7D0D4117C97CCC46
  1. 2
      dist/mac/Info.plist
  2. 2
      src/app/CMakeLists.txt

2
dist/mac/Info.plist vendored

@ -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>

2
src/app/CMakeLists.txt

@ -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

Loading…
Cancel
Save