From 86e59b11479cc3de0f36cd7128e7e00c7632fb9c Mon Sep 17 00:00:00 2001 From: Jonathan Haines Date: Tue, 15 Sep 2015 07:05:47 +1000 Subject: [PATCH] Added docs for GitHub Implementation --- docs/api.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/docs/api.md b/docs/api.md index 7ca633c57..bbc0a9eb9 100644 --- a/docs/api.md +++ b/docs/api.md @@ -13,6 +13,20 @@ using (var mgr = new UpdateManager("http://your-server/releases")) } ``` +### GitHub UpdateManager + +To use GitHub Releases as the location where your application updates are hosted: + +```cs +var updateManager = UpdateManager.GitHubUpdateManager('https://github.com/myuser/myrepo'); + +// or to include pre-releases + +var updateManager = UpdateManager.GitHubUpdateManager('https://github.com/myuser/myrepo', prerelease: true); +``` + +Issue #442 contains a brief explanation of how this works. + ### Methods for managing updates These methods are the primary methods you'll use to interact with app updates and apply them.