Re: Running from DMG
Re: Running from DMG
- Subject: Re: Running from DMG
- From: "stephen joseph butler" <email@hidden>
- Date: Mon, 12 Feb 2007 17:39:03 -0600
2007/2/11, Brad Peterson <email@hidden>:
However, I'd like to be more specific than that and
determine whether I'm running from a mounted DMG. The
DMG could be writable, so the usual checks for, say, a
CD don't apply here.
Any thoughts?
Is this a DMG you have control over? That is, one you distribute your
application in, or one your application creates?
In those cases, I'm thinking a low-tech solution might be best.
Perhaps a hidden file like ".DMG" stored in the same directory as your
application bundle. If a user copied your applicaton somewhere else
then this file would be missing.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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