[Adium-devl] Let's abandon disk images

Evan Schoenberg evan at adiumx.com
Tue Apr 17 00:15:06 UTC 2007


On Apr 16, 2007, at 5:12 PM, Arno Hautala wrote:

> On 2007/04/16, at 14:37, Peter Hosey wrote:
>> On Apr 16, 2007, at 11:10:16, Graham Booker wrote:
>>> Let's just check for the background picture.  We could rename it
>>> to something with Adium in the name just to make sure…
>>
>> Sounds fine to me. Let's call it adiumDmgBackground.png and look
>> for that as the file that heralds improper disk-image usage.
>
> What if the user "installs" Adium by copying the mounted drive?
> Wouldn't that trigger a false positive?
>
> Just something that occurred to me. :)

How about:
(NSWorkspace_RBconnectiontype == "Virtual Interface" &&
exists(/.background/adiumDmgBackground.png))

If the user creates a new disk image by copying the Adium one and  
wants to run Adium off of it, s/he deserves a wacky error message.

-Evan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://adium.im/pipermail/devel_adium.im/attachments/20070416/4329d5fd/attachment-0001.html>
-------------- 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/4329d5fd/attachment.sig>


More information about the devel mailing list