On Sep 27, 2010, at 5:18 PM, Chris Browet wrote:
> I'm keen to implementing an auto-update feature in Merkaartor, which would 
> allow quick deployments of point releases without all the hassle of full 
> releases.
> While doing this in Windows (where all files related to an application reside 
> in the same directory) seems pretty obvious, I have no clue on how this is 
> done in Linux/OSX, where the sys folders are supposed to be read-only for a 
> plain user and where package management more or less imposes a "static" file 
> system.
> Bottom line: How does firefox auto-updates itself on these platforms?
> This is about the actual files, e.g. is /usr/bin/firefox replaced in the 
> process or is it just a stub to the actual executable located somewhere else?

On Mac OS X it's usually done trough the Sparkle framework 
(http://sparkle.andymatuschak.org/) which takes care of all that's needed. But 
basically what's needed i to just replace the executable 
(merkaartor.app/Contens/MacOS/merkaartor, and if required ask for superuser 
credentials). IMHO Sparkle is the preferred way for MacOS X. If you find a 
better multiplatfom solution we can use that on all platforms, if not I can 
look at Sparkle in more detail  and implement what's needed.

Best regards
Aleks

-- 
Aleksandar Topuzovic
[email protected]





_______________________________________________
Merkaartor mailing list
[email protected]
http://lists.openstreetmap.org/listinfo/merkaartor

Reply via email to