Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: One instance of app running



On 1/12/07, Daniel Birns <email@hidden> wrote:


John,

You're right.  Using XCode this happened all the time.
Also, it appears to happen if you have copied the app to 2 different locations, and
click on both the different locations.

Yes, this is because these are seen by the system as two separate applications.


Which brings up a related issue: currently we're planning to distribute with a .DMG file that contains the app and perhaps a readme file with the expectation that the user will know to copy this to a convenient place: perhaps the desktop, perhaps the Applications folder. Is this a reasonable assumption?

Yes; this is the typical way in which Macintosh applications are "installed"; In fact, I have seen many disk images distributed with a link to "/Applications/" on the image itself to facilitate this dragging.

And if so, what happens if they move it later? In particular, the file associations seem to
be to a particular path to the app, and if that
path changes, what happens to the file associations?

Nothing; the file association moves with the app (i.e. it is *not* tied to a path; it is tied to the bundle identifier of the app)

--
Clark S. Cox III
email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/carbon-dev/email@hidden

This email sent to email@hidden
References: 
 >RE: One instance of app running (From: Daniel Birns <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.