Re: Moving oneself to /Applications (or ~/Applications)
Re: Moving oneself to /Applications (or ~/Applications)
- Subject: Re: Moving oneself to /Applications (or ~/Applications)
- From: Nick Zitzmann <email@hidden>
- Date: Tue, 17 Feb 2009 23:39:48 -0700
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 (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