Skip to content

tomaszzmuda/Xabe.AutoUpdater

Repository files navigation

Xabe.AutoUpdater Build Status

Dotnet core library providing automatically update.

Using

Install the Xabe.AutoUpdater NuGet package via nuget:

PM> Install-Package Xabe.AutoUpdater

Update application:

IUpdater updater = new AutoUpdater.Updater(new AssemblyVersionChecker(), new GithubProvider("Xabe.VideoConverter", "tomaszzmuda", "Xabe.VideoConverter"));
if(await updater.IsUpdateAvaiable())
	updater.Update();

Updater needs two parameter to create it.

Updater(IVersionChecker versionChecker, IReleaseProvider releaseProvider)

At this time only GitHub Releases provider is emplemented, but you can make providers by your own implementing those interfaces.

Example using

Xabe.VideoConverter

Lincence

Xabe.AutoUpdater is licensed under MIT - see License for details.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published