Re: overwriting own bundle
Re: overwriting own bundle
- Subject: Re: overwriting own bundle
- From: Dave Carrigan <email@hidden>
- Date: Fri, 23 Apr 2010 09:43:49 -0700
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
email@hidden
Seattle, WA, USA
_______________________________________________
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