On Feb 17, 2009, at 11:28 PM, Ben Lachman wrote:

I'm wanting to move away from DMGs to ZIP delivery. As part of this move I'd like to have my app, SousChef, prompt the user on first run to move itself to /Applications (or ~/Applications as appropriate). In a short search I can't find any code examples hanging about to do something like this. Would anyone mind sharing ideas/code on how to do this?


You can't safely move a running application; unless this problem was recently fixed, NSBundle doesn't update with new paths if you do that. Besides that, users should be able to run an application wherever they want to run the application, shouldn't they?

Nick Zitzmann
<http://www.chronosnet.com/>



_______________________________________________

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