C# Класс Artemis.Utilities.Updater

Показать файл Открыть проект

Открытые методы

Метод Описание
CheckChangelog ( MetroDialogService dialogService ) : System.Threading.Tasks.Task

Checks to see if the program has updated and shows a dialog if so.

GetPointers ( ) : void

Queries GitHub for the latest pointers file

UpdateApp ( ) : void

Uses Squirrel to update the application through GitHub

Приватные методы

Метод Описание
LoadNullDefaults ( ) : void

JSON default value handling can only go so far, so the update will take care of defaults on the offsets if they are null

ShowChanges ( MetroDialogService dialogService, System.Version version ) : System.Threading.Tasks.Task

Fetches all releases from GitHub, looks up the current release and shows the changelog

Описание методов

CheckChangelog() публичный статический Метод

Checks to see if the program has updated and shows a dialog if so.
public static CheckChangelog ( MetroDialogService dialogService ) : System.Threading.Tasks.Task
dialogService Artemis.Services.MetroDialogService The dialog service to use for progress and result dialogs
Результат System.Threading.Tasks.Task

GetPointers() публичный статический Метод

Queries GitHub for the latest pointers file
public static GetPointers ( ) : void
Результат void

UpdateApp() публичный статический Метод

Uses Squirrel to update the application through GitHub
public static UpdateApp ( ) : void
Результат void