Re: Modifying Bundle's Info Property List
Sean Morrell (smorrell@artlogic.com) wrote:
We are recommending that you write a tool that you deliver a
StartupItem that can configure your driver at start time.
StartupItem? Can you give me a brief description?
It is an application that runs at startup, BEFORE a user logs in. You could communicate with your driver from such an application. Our driver also needs to configure itself based on user settings. My plan is: 1- startup item runs at startup time 2- it forks itself. the parent quits and the child runs forever (this seems to be needed since if the parent never ends, the login window never comes up) 3- the child process watches for user logins, when this happens it uses CFPreferences to get the user prefs. The watching is done with APIs in SystemConfiguration.h 4- the child sends the info to the driver I have successfully got to step 2. But I think it will all work. You might look at: <http://www.opensource.apple.com/projects/documentation/howto/html/ SystemStarter_HOWTO.html> hth,
participants (1)
-
Sean McBride1