[Adium-devl] Let's abandon disk images

Graham Booker gbooker at cod3r.com
Mon Apr 16 18:10:16 UTC 2007


Ideas for both methods:

On Apr 16, 2007, at 1:01 PM, Peter Hosey wrote:

> On Apr 16, 2007, at 06:58:51, Ari Johnson wrote:
>> I think that that makes the most sense, since the user is much  
>> more likely to have a differently-named .dmg than he is to change  
>> the name of the volume that gets mounted.
>
> Possibly, but he could also mount the same volume twice, in which  
> case one will be /Volumes/Adium 1.0.2-1. If he runs Adium from that  
> volume, it won't match.
>

if([mountPoint hasPrefix:@"/Volumes/Adium 1."])
	//we are on our install image

This will work for all versions 1.x.


> I'm liking the invisible file best at this point.

Easy, we already have one!

/Volumes/Adium (whateve)/.background/dmgBackground.png

Let's just check for the background picture.  We could rename it to  
something with Adium in the name just to make sure, but why stick  
another file on there when we could just use this one?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 1601 bytes
Desc: not available
URL: <http://adium.im/pipermail/devel_adium.im/attachments/20070416/051ac960/attachment.p7s>


More information about the devel mailing list