NAME

AmphetaDesk::Versioning - Check for new versions of AmphetaDesk

SYNOPSIS

    my $results = check_version;

DESCRIPTION

This package handles the versioning of AmphetaDesk. Currently, it fiddles with downloading a plain text version file for comparison, but it will eventually automatically stream and install new releases, as well as back up old versions for emergency restoration. Pipe-dreaming, of course. Only one routine is exported: check_version.

METHODS

check_version
This routine grabs the text file sitting at "urls_version_current" (determined by AmphetaDesk::Settings) and compares it with the currently installed version, as well as saving the data to "files_version" (also from AmphetaDesk::Settings). If they're different, alert the user visually. Returns 0 if we couldn't grab the latest version, and 1 if we could.

SEE ALSO

AUTHOR

Morbus Iff, <morbus@disobey.com>

COPYRIGHT AND LICENSE

Copyright 2000-2004 Morbus Iff <morbus@disobey.com>

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.