Pārlūkot izejas kodu

Fix macOS app bundle name in packaging scripts

Signed-off-by: znerol <lo+github@znerol.ch>
znerol 4 gadi atpakaļ
vecāks
revīzija
547c1f57d9
2 mainītis faili ar 2 papildinājumiem un 1 dzēšanām
  1. 1 1
      admin/osx/post_install.sh.cmake
  2. 1 0
      admin/osx/pre_install.sh.cmake

+ 1 - 1
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

+ 1 - 0
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