[wxPython-users] auto update feature

Frank Niessink frank at niessink.com
Sun Feb 17 04:13:16 PST 2008


Hi Robert,

2008/2/17, Robert Gravina <robert at gravina.com>:
> Ideally it would be great if this upgrade was automatic (e.g.
> Firefox) - but many apps get away with just pointing the users
> browser to a download page (e.g. Skype).

That is what Task Coach (www.taskcoach.org) currently does. The
checking is done by a VersionChecker that runs in a seperate thread.
The VersionChecker grabs the PAD (Portable App Description, used in
the Shareware world, e.g. download.com) file from www.taskcoach.org
and checks whether a newer version is available.

Creation of the VersionChecker in App.start():
http://taskcoach.cvs.sourceforge.net/taskcoach/taskcoach/taskcoach.py?view=markup

VersionChecker class:
http://taskcoach.cvs.sourceforge.net/taskcoach/taskcoach/taskcoachlib/meta/versionchecker.py?view=markup

Task Coach pad file: http://www.taskcoach.org/pad.xml

More info about PAD files: http://www.asp-shareware.org/pad/

Cheers, Frank




More information about the wxpython-users mailing list