Skip to content

Commit

Permalink
Merge pull request Squirrel#391 from BarryThePenguin/patch-1
Browse files Browse the repository at this point in the history
Added docs for GitHub Implementation
  • Loading branch information
anaisbetts committed Oct 15, 2015
2 parents b6ecc40 + 86e59b1 commit ac781da
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions docs/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit ac781da

Please sign in to comment.