Re: overwriting own bundle
Re: overwriting own bundle
- Subject: Re: overwriting own bundle
- From: Jens Alfke <email@hidden>
- Date: Fri, 23 Apr 2010 11:06:16 -0700
On Apr 23, 2010, at 9:43 AM, Dave Carrigan wrote:
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.
+1. This is tricky to do right, and the fewer self-update frameworks
there are, the better for everyone (including Apple as they deal with
compatibility issues down the road.)
Just overwriting your app bundle while the app is running is likely
to lead to trouble.
Indeed. Especially if something goes wrong halfway through, leaving
your app bundle a chimera that won't launch, or even worse, does
launch but misbehaves in subtle ways that generate lots of tech
support issues for you.
—Jens_______________________________________________
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