UpdateExe Class
Namespace: Velopack
Assembly: Velopack
Assembly Version: 0.0.942+a011233
A static helper class to assist in running Update.exe CLI commands. You probably should not invoke this directly, instead you should use the relevant methods on UpdateManager. For example: ApplyUpdatesAndExit(VelopackAsset), or ApplyUpdatesAndRestart(VelopackAsset, string[]).
public static class UpdateExe
Inheritance: object → UpdateExe
Methods
Name | Description |
---|---|
Apply(IVelopackLocator, VelopackAsset, bool, bool, string[], ILogger) | Runs Update.exe in the current working directory to apply updates, optionally restarting the application. |
ApplyAsync(IVelopackLocator, VelopackAsset, bool, bool, string[], ILogger) | |
Start(IVelopackLocator, bool, string[], ILogger) | Runs Update.exe in the current working directory with the 'start' command which will simply start the application. Combined with the `waitForExit` parameter, this can be used to gracefully restart the application. |
Documentation generated by MdDocs