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
tommy.nordg...@comhem.se



_______________________________________________

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