mirror of
https://github.com/etlegacy/Update-Installer.git
synced 2024-11-14 16:31:15 +00:00
48084cfdb2
The updater binary is listed as a package on its own but is not compressed. The program downloading the update can then download all packages for the new version including the updater executable 'package' (in reality, just the plain file) and then invoke that updater. This also allows for substitution of the updater binary with a different version via the -u parameter.
16 lines
348 B
JavaScript
16 lines
348 B
JavaScript
{
|
|
"packages" : {
|
|
// a single package which contains all files for the application
|
|
"app" : [
|
|
".*"
|
|
],
|
|
},
|
|
|
|
// the name of the updater binary - this will be listed as
|
|
// a dependency of the update process
|
|
"updater-binary" : "updater",
|
|
|
|
// the name of the main binary to launch when the
|
|
// application starts
|
|
"main-binary" : "myapp"
|
|
}
|