Yet another privileged-helper-tool question: how to launch from a system-preferences panel?
Yet another privileged-helper-tool question: how to launch from a system-preferences panel?
- Subject: Yet another privileged-helper-tool question: how to launch from a system-preferences panel?
- From: Motti Shneor <email@hidden>
- Date: Wed, 13 Jan 2016 11:42:19 +0200
Hi.
I tried to modify the SMJobBless sample from Apple to use a System-Preference panel, instead of an independent Cocoa App, to launch a privileged launchd daemon.
I build both the preferences panel and my helper tool in the same way, and apply (using the attached python script) the “trust” entries of both info.plist files (of my preferences panel and the helper tool). It all runs - but fails to launch the daemon.
I suspect it is because my Preferences panel, although being a code bundle - is loaded and runs inside of the “System Preferences” application, which both my helper-tool doesn’t trust, and doesn’t trust my helper tool.
Now — of course I cannot modify the “System Preferences” application’s info.plist. What then can I do? Idea anyone?
Motti Shneor
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden