Update-Installer/tools
Robert Knight 09b3b2f43a Switch to using Unix chmod values for file permissions instead of values from Qt's QFile::Permission enum
The use of QFile::Permission flag values is a legacy from the old Qt-based updater.
Unix chmod values are used by the native system calls so it makes more sense
to use them instead.

 * Update the test examples and the test update script.
 * Update the package building tool to populate the permissions field with octal chmod values.
2011-09-04 14:53:51 +01:00
..
config-template.js Special handling for the updater binary in the package creation script. 2011-09-01 17:37:50 +01:00
create-packages.rb Switch to using Unix chmod values for file permissions instead of values from Qt's QFile::Permission enum 2011-09-04 14:53:51 +01:00
README Change the package-map JSON file into a general config file which also specifies the name of the updater and path to the main binary. 2011-08-27 16:09:11 +01:00

This directory contains a set of tools for preparing auto-updates.

 * create-packages.rb

	Given a directory containing the set of files that make up a release,
	laid out as they are when installed and a JSON package config file,
	this tool generates a set of packages for the release
	and a file_list.xml listing all the files that make up the release.

 * config-template.json

    This is a template for the config file that specifies:

	- How to partition the files that make up an installed application
	  into packages.
	- The path of the main binary to run after the update completes
	- The name of the updater binary to download as part of the update

    This is the simplest possible package configuration, where all files for
	a release are placed in a single package.  This means that the whole
	package will need to be downloaded to install the update.