[Adium-devl] Let's abandon disk images

Peter Hosey boredzo at gmail.com
Tue Apr 17 00:21:49 UTC 2007


On Apr 16, 2007, at 14:12:44, Arno Hautala wrote:
> What if the user "installs" Adium by copying the mounted drive?  
> Wouldn't that trigger a false positive?
>
> Just something that occurred to me. :)

That occurred to me too, but I forgot about it. I think we need a  
combined attack: Test for the disk image nature, *and* for the hidden  
file.

A clarification regarding looking for the hidden file: We should look  
for it from the base of the volume, not from Adium's container. This  
way, if Adium is put onto a disk image (in a folder, e.g. by option- 
copying our volume to their volume) and then run, it will not think  
that it is running from its own disk image, since our hidden file is  
in our folder, rather than their volume's top level.

Clarification of the clarification:

	/Volumes/Adium\ 1.0.2
		↓copy↓
	/Volumes/Mamma\ Mia\ That's\ a\ Lotta\ Software/Adium\ 1.0.2

	Hidden file exists at:
		/Volumes/Mamma\ Mia\ That's\ a\ Lotta\ Software/Adium\  
1.0.2/.background/adiumDmgBackground.png
	We look for:
		/Volumes/Mamma\ Mia\ That's\ a\ Lotta\ Software/.background/ 
adiumDmgBackground.png
	Not found—not our disk image!
___________________________________
\ Peter Hosey / boredzo at adiumx.com
PGP public key ID: C6550423 (since 2007-01-01)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part
URL: <http://adium.im/pipermail/devel_adium.im/attachments/20070416/2a9ab547/attachment.sig>


More information about the devel mailing list