mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-23 13:35:58 +03:00
9eb8645b95
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
13 lines
457 B
CMake
13 lines
457 B
CMake
#!/bin/sh
|
|
|
|
# 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_NAME@.app/Contents/PlugIns/FinderSyncExt.appex/"
|
|
# Since El Capitan we need to sleep #4650
|
|
sleep 10s
|
|
# enable it
|
|
pluginkit -e use -i @APPLICATION_REV_DOMAIN@.FinderSyncExt
|
|
fi
|
|
|
|
exit 0
|