Ignore:
Timestamp:
07/21/12 12:43:34 (12 years ago)
Author:
István Váradi <ivaradi@…>
Branch:
default
hg-Phase:
(<MercurialRepository 1 'hg:/home/ivaradi/mlx/hg' '/'>, 'public')
Message:

Documented the non-GUI modules

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/mlx/update.py

    r189 r298  
    1 # Module handling the download of updates
    2 
    3 #------------------------------------------------------------------------------
    41
    52from config import Config
     
    1512if os.name=="nt":
    1613    import win32api
     14
     15#------------------------------------------------------------------------------
     16
     17## @package mlx.update
     18#
     19# Automatic update handling.
     20#
     21# The program can update itself automatically. For this purpose it maintains a
     22# manifest of the files installed containing the relative paths, sizes and
     23# checksums of each files. When the program starts up, this manifest file is
     24# downloaded from the update server and is compared to the local one. Then the
     25# updated and new files are downloaded with names that are created by appending
     26# the checksum to the actual name, so as not to overwrite any existing files at
     27# this stage. If all files are downloaded, the downloaded files are renamed to
     28# their real names. On Windows, the old file is removed first to avoid trouble
     29# with 'busy' files. If removing a file fails, the file will be moved to a
     30# temporary directory, that will be removed when the program starts the next
     31# time.
    1732
    1833#------------------------------------------------------------------------------
Note: See TracChangeset for help on using the changeset viewer.