Skip to content

Commit

Permalink
Revert "Fix macos bundle display name in Finder (open-eid#1250)"
Browse files Browse the repository at this point in the history
This reverts commit 19a0222.
  • Loading branch information
metsma committed May 13, 2024
1 parent ccb29a5 commit 4bb6f51
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 7 deletions.
9 changes: 3 additions & 6 deletions client/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,8 @@ set(SCHEMAS
../schema/recipients.fbs
../schema/header.fbs
)
if(APPLE)
set(PROJECT_NAME DigiDoc4)
endif()
add_executable(${PROJECT_NAME} WIN32 MACOSX_BUNDLE
qdigidoc4.rc
${PROJECT_NAME}.rc
${SOURCES}
${WIDGETS}
images/images.qrc
Expand Down Expand Up @@ -185,9 +182,9 @@ if( APPLE )
$<TARGET_BUNDLE_CONTENT_DIR:${PROJECT_NAME}>/PlugIns/*/*
$<TARGET_BUNDLE_CONTENT_DIR:${PROJECT_NAME}>/Library/QuickLook/DigiDocQL.qlgenerator
COMMAND if echo \"$$SIGNCERT\" | grep -q "Developer ID" \; then
codesign -f -s \"$$SIGNCERT\" $<TARGET_BUNDLE_DIR:${PROJECT_NAME}> --entitlements ${CMAKE_SOURCE_DIR}/qdigidoc4.eToken.entitlements\;
codesign -f -s \"$$SIGNCERT\" $<TARGET_BUNDLE_DIR:${PROJECT_NAME}> --entitlements ${CMAKE_SOURCE_DIR}/${PROJECT_NAME}.eToken.entitlements\;
else
codesign -f -s \"$$SIGNCERT\" $<TARGET_BUNDLE_DIR:${PROJECT_NAME}> --entitlements ${CMAKE_SOURCE_DIR}/qdigidoc4.entitlements\;
codesign -f -s \"$$SIGNCERT\" $<TARGET_BUNDLE_DIR:${PROJECT_NAME}> --entitlements ${CMAKE_SOURCE_DIR}/${PROJECT_NAME}.entitlements\;
fi
)

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 Client";
CFBundleDisplayName = "DigiDoc4 Client";
4 changes: 4 additions & 0 deletions client/mac/Resources/et.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 klient";
CFBundleDisplayName = "DigiDoc4 klient";
4 changes: 4 additions & 0 deletions client/mac/Resources/ru.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 4bb6f51

Please sign in to comment.