Skip to content

Commit

Permalink
Fix macos bundle display name in Finder
Browse files Browse the repository at this point in the history
IB-7694

Signed-off-by: Raul Metsma <[email protected]>
  • Loading branch information
metsma committed Mar 1, 2024
1 parent fb81c88 commit 83e62b8
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion client/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ set_target_properties(${PROJECT_NAME} PROPERTIES
AUTOUIC ON
AUTORCC ON
MACOSX_BUNDLE_INFO_PLIST ${CMAKE_CURRENT_SOURCE_DIR}/mac/Info.plist.cmake
MACOSX_BUNDLE_BUNDLE_NAME ${PROJECT_NAME}
MACOSX_BUNDLE_BUNDLE_NAME DigiDoc4
MACOSX_BUNDLE_GUI_IDENTIFIER "ee.ria.${PROJECT_NAME}"
)
target_include_directories(${PROJECT_NAME} PRIVATE ${CMAKE_SOURCE_DIR} ${LIBDIGIDOCPP_INCLUDE_DIR})
Expand Down
4 changes: 3 additions & 1 deletion client/mac/Info.plist.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>DigiDoc4</string>
<string>${MACOSX_BUNDLE_BUNDLE_NAME}</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleSupportedPlatforms</key>
Expand All @@ -32,6 +32,8 @@
<true/>
<key>NSAppleEventsUsageDescription</key>
<string>DigiDoc4 can use AppleScript to talk with apps, for example to insert attachments to emails.</string>
<key>LSHasLocalizedDisplayName</key>
<true/>
<key>LSApplicationCategoryType</key>
<string>public.app-category.productivity</string>
<key>LSMinimumSystemVersion</key>
Expand Down
4 changes: 4 additions & 0 deletions client/mac/Resources/en.lproj/InfoPlist.strings
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/* Localized versions of Info.plist keys */

CFBundleName = "DigiDoc4";
CFBundleDisplayName = "DigiDoc4";

0 comments on commit 83e62b8

Please sign in to comment.