2

I am creating a FinderSync Extension for my application like Dropbox do. Now I need to register and unregister this extension from Extensions(in System preference) programmatically. Dropbox implemented this feature in recent release .

Extensions Pane System Preferences

How to unregister and register an extension dynamically using applescipt.

pkamb
  • 33,281
  • 23
  • 160
  • 191
kumarPv
  • 483
  • 4
  • 8

1 Answers1

1

Try pluginkit on the shell (.sh script)

# add it to DB.
pluginkit -a  "/Applications/YourApp.app/Contents/PlugIns/FinderSyncExt.appex/"
# enable it
pluginkit -e use -i com.your-application.FinderSyncExt
guruz
  • 1,604
  • 14
  • 21