Browse Source

Merge pull request #14811 from Kolcha/bundle_name

Don't use executable name as CFBundleName value
adaptive-webui-19844
Chocobo1 3 years ago committed by GitHub
parent
commit
d6a398cf2c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  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