mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-22 13:05:51 +03:00
shell_i: Activate the finder integration on install #3463
This makes sure that users won't have to go into settings to activate the extension. This might upset users by forcing them to re-disable it on each oC upgrade, but if this becomes an issue we should then make this configurable in the client's settings itself.
This commit is contained in:
parent
6d522a1467
commit
ed51358478
2 changed files with 7 additions and 2 deletions
|
@ -1021,11 +1021,11 @@
|
|||
<key>CONCLUSION_ACTION</key>
|
||||
<integer>0</integer>
|
||||
<key>IDENTIFIER</key>
|
||||
<string>com.owncCloud.finderPlugin</string>
|
||||
<string>com.ownCloud.finderPlugin</string>
|
||||
<key>LOCATION</key>
|
||||
<integer>0</integer>
|
||||
<key>NAME</key>
|
||||
<string>Finder Plugin</string>
|
||||
<string>Legacy Finder Plugin (OS X 10.9 or older)</string>
|
||||
<key>OVERWRITE_PERMISSIONS</key>
|
||||
<false/>
|
||||
<key>VERSION</key>
|
||||
|
|
|
@ -8,4 +8,9 @@ tell application "Finder"
|
|||
end tell
|
||||
EOF
|
||||
|
||||
# Always enable the new 10.10 finder plugin if available
|
||||
if [ -x "$(command -v pluginkit)" ]; then
|
||||
pluginkit -e use -i com.owncloud.desktopclient.FinderSyncExt
|
||||
fi
|
||||
|
||||
exit 0
|
Loading…
Reference in a new issue