-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
86 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,26 @@ | ||
# Updater | ||
Light weight program updater that takes file update info as command line arguments. | ||
Light weight file updater. | ||
|
||
![alt tag](http://i.imgur.com/FztHxfx.png) | ||
|
||
* Parameters are separated by spaces or new lines. | ||
* First parameter expected is an executable to be run when the updater finishes. | ||
- Ideally the program that calls the updater. | ||
- This is auto generated by UpdateCheck.cs used in all of my programs. | ||
* Feed update manifest url as command line argument. | ||
- i.e. a URL to a text file. | ||
* Update parameters are separated by new lines. | ||
* First paramenter expected is the new package version. | ||
- This is usually only needed for UpdateCheck.cs, which opens the Updater. | ||
* Second parameter expected is an executable to be run when the updater finishes. | ||
- Ideally the program that opens the updater, but can be anything. | ||
* Rest of parameters expected will be in pairs of two | ||
- File download URL | ||
- File path and/or File name | ||
|
||
Example: | ||
|
||
``` | ||
SAM.exe | ||
https://drive.google.com/uc?export=download&id=0B2byNRcR0k4vblQxNWNEakNISFU | ||
SAM.exe | ||
https://drive.google.com/uc?export=download&id=0B2byNRcR0k4veXpSUUktVTNZSms | ||
Updater.exe | ||
1.2.3.4 | ||
fileToRunWhenComplete.exe | ||
(file2 direct download URL) | ||
file2.dll | ||
(file3 direct download URL) | ||
file3.txt | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters