Re: Moving oneself to /Applications (or ~/Applications)
Re: Moving oneself to /Applications (or ~/Applications)
- Subject: Re: Moving oneself to /Applications (or ~/Applications)
- From: Tommy Nordgren <email@hidden>
- Date: Tue, 24 Feb 2009 06:22:03 +0100
On Feb 24, 2009, at 4:53 AM, Kyle Sluder wrote:
5) Not just using the system-provided facilities to ask the direct
question ("Is the volume on which this app's bundle resides
removable?") but relying on aforementioned assumptions to ask an
indirect question ("Does the path of the bundle of this app match a
pattern that resembles that of the system-created directories in the
default location for mount points?")
--Kyle Sluder
This last trick is not useful for telling wether the user is running
the app directly from the download
dmg.
Testing wether the Volume containing the app is removeable will match
for ANY volume except the boot volume.
-------------------------------------------
Engineers supporting greenpeace: Comparable to Afroamericans who wants
to join the Ku Klux Klan
----------------------------------------
Tommy Nordgren
email@hidden
_______________________________________________
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