gpm.Installer
0.2.4
dotnet add package gpm.Installer --version 0.2.4
NuGet\Install-Package gpm.Installer -Version 0.2.4
<PackageReference Include="gpm.Installer" Version="0.2.4" />
paket add gpm.Installer --version 0.2.4
#r "nuget: gpm.Installer, 0.2.4"
// Install gpm.Installer as a Cake Addin #addin nuget:?package=gpm.Installer&version=0.2.4 // Install gpm.Installer as a Cake Tool #tool nuget:?package=gpm.Installer&version=0.2.4
gpm.Installer
An auto-installer service for desktop apps. gpm.Installer uses https://github.com/gpm-org/gpm as backing registry.
The manager registry is located at https://github.com/gpm-org/gpm-db and accepts pull requests.
Installation
gpm.Installer is available on nuget.org:
You can use the following command in the Package Manager Console:
Install-Package gpm.Installer
Package | NuGet Stable | NuGet Pre-release | Downloads |
---|---|---|---|
gpm.Installer |
Prerequisites
git must be installed on your PATH.
Usage
- Register gpm.Installer with your DI container. gpm.Installer
services.AddGpmInstaller();
- Build the auto-updater configuration, where
_autoInstallerService
is injected via Dependency Injection.
private void InitUpdateService() => _autoInstallerService
.UseWPF()
.AddVersion("<CURRENT APP VERSION>")
.AddChannel("<CHANNEL NAME 1>", "<GPM ID 1>")
.AddChannel("<CHANNEL NAME 2>", "<GPM ID 2>")
.UseChannel("<CHANNEL NAME 1>")
.Build();
Contributing
Do you want to contribute? Community feedback and contributions are highly appreciated!
For general rules and guidelines see Contributing.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
-
net6.0
- gpm.Core (>= 0.4.5)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.