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:
Jocelyn Turcotte 2015-07-28 17:57:55 +02:00
parent 6d522a1467
commit ed51358478
2 changed files with 7 additions and 2 deletions

View file

@ -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>

View file

@ -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