UpdateHandler
Sasso edited this page Jan 30, 2021
·
1 revision
Class for handling updates with git-based repositories.
Constructor of the UpdateHandler class.
Name | Description |
---|---|
window |
XVLauncher.MainWindow The window where the updater will be called. |
Check if it there is a new release on GitLab repo.
true if there is an update available, false otherwise.
Compares the currently stored commit id with a target commit id and returns a tuple of list with the old paths and new paths of changed files.
Name | Description |
---|---|
targetCommit |
System.String The target commit id using for comparing. |
Retrieves the latest github release informations.
last release download link, last commit name, last release tag.
The instance of MainWindow that contains GUI elements which show update progress and status.
Wiki work in progress, please feel free to contribute!