[Adium-devl] Let's abandon disk images

Peter Hosey boredzo at gmail.com
Mon Apr 9 19:36:46 UTC 2007


On Apr 09, 2007, at 08:12:56, Sam wrote:
> Launch Adium from the new location, **Passing an argument** that  
> tells it to eject the disk image. The old Adium exits. (no strange  
> scripts needed!)

Actually, this gave me an idea. We do this on launch:

1. Look for the disk image.
2. If it is mounted, try to eject it.
3. If the ejection fails (disk in use), we are running from the disk  
image and should inform the user of this fact.
4. If the ejection succeeds, woo-hoo!
___________________________________
\ 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/20070409/470bd188/attachment.sig>


More information about the devel mailing list