C# Class Artemis.Utilities.Updater

显示文件 Open project: SpoinkyNL/Artemis

Public Methods

Method Description
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

Private Methods

Method Description
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

Method Details

CheckChangelog() public static method

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
return System.Threading.Tasks.Task

GetPointers() public static method

Queries GitHub for the latest pointers file
public static GetPointers ( ) : void
return void

UpdateApp() public static method

Uses Squirrel to update the application through GitHub
public static UpdateApp ( ) : void
return void