From 547c1f57d9a0badb01c4bf7852dd6356a40a02bc Mon Sep 17 00:00:00 2001 From: znerol Date: Mon, 16 Aug 2021 16:39:37 +0200 Subject: [PATCH] Fix macOS app bundle name in packaging scripts Signed-off-by: znerol --- admin/osx/post_install.sh.cmake | 2 +- admin/osx/pre_install.sh.cmake | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/admin/osx/post_install.sh.cmake b/admin/osx/post_install.sh.cmake index 55d5e1c1d..583f5e9cb 100644 --- a/admin/osx/post_install.sh.cmake +++ b/admin/osx/post_install.sh.cmake @@ -3,7 +3,7 @@ # Always enable the new 10.10 finder plugin if available if [ -x "$(command -v pluginkit)" ]; then # add it to DB. This happens automatically too but we try to push it a bit harder for issue #3463 - pluginkit -a "/Applications/@APPLICATION_EXECUTABLE@.app/Contents/PlugIns/FinderSyncExt.appex/" + pluginkit -a "/Applications/@APPLICATION_NAME@.app/Contents/PlugIns/FinderSyncExt.appex/" # Since El Capitan we need to sleep #4650 sleep 10s # enable it diff --git a/admin/osx/pre_install.sh.cmake b/admin/osx/pre_install.sh.cmake index cd909e29a..dededc67d 100644 --- a/admin/osx/pre_install.sh.cmake +++ b/admin/osx/pre_install.sh.cmake @@ -2,5 +2,6 @@ # kill the old version. see issue #2044 killall @APPLICATION_EXECUTABLE@ +killall @APPLICATION_NAME@ exit 0 -- 2.30.2