[Adium-devl] Let's abandon disk images

Colin Barrett timber at lava.net
Mon Apr 16 13:14:36 UTC 2007


On Apr 16, 2007, at 2:55 AM, Peter Hosey wrote:

> We could use this by getting info on the main bundle, and if it has  
> NSWorkspace_RBimagefilepath and that key's value ends with / 
> Adium_*.dmg, then we are running from the disk image.

I like this metric quite a bit. Although why the glob? We know at  
build time what the name of the DMG is going to be.

Although, what about the case with multiple DMGs of the same name  
(user downloads it twice by accident).

Maybe testing the presence of imagefilepath existing and RBmntonname  
being "/Volumes/Adium X 1.0.2" would be better?

-Colin





More information about the devel mailing list