Does anyone have a good example of this?
From what I've read the old method was deprecated in OSX Lion, the way to go about it now is to use SMJobBless on an elevated helper but I don't see any good or easy examples that clearly illustrate how I would for example: move a file or write a file in (for example) /Library/Preferences.
Ideally I'd like to have a user only authorize once on first run and never again. Any ideas?
From what I've read the old method was deprecated in OSX Lion, the way to go about it now is to use SMJobBless on an elevated helper but I don't see any good or easy examples that clearly illustrate how I would for example: move a file or write a file in (for example) /Library/Preferences.
Ideally I'd like to have a user only authorize once on first run and never again. Any ideas?