On Apr 23, 2010, at 9:38 AM, Philip White wrote:

>  Is it acceptable for an application to overwrite its own bundle, say as part 
> of an update? Assuming of course that it can get any necessary elevated 
> privileges? Or should I spawn a task that waits for the app to quit and then 
> overwrite it?


Have a look at the sparkle framework, for doing updates. I believe what it does 
is moves the app bundle to the trash then drops in the new app bundle.

Just overwriting your app bundle while the app is running is likely to lead to 
trouble.

-- 
Dave Carrigan
d...@rudedog.org
Seattle, WA, USA

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to