Skip to content

Commit

Permalink
Docs updated to 1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ricardopolo committed May 21, 2015
1 parent f8ce7b8 commit 89be441
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 8 deletions.
4 changes: 1 addition & 3 deletions docs/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,7 @@ This is the assembly your project should reference in order to use Squirrel in-a
Main entry point for using Squirrel functionality. Here's an example of how to create one:

```cs
using (var mgr = new UpdateManager(
@"http://your-server/releases", "your-nuget-package-id",
FrameworkVersion.Net45))
using (var mgr = new UpdateManager("http://your-server/releases"))
{
// Use updateManager
}
Expand Down
2 changes: 1 addition & 1 deletion docs/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
```cs
// NB: For this version, always say your app is using .NET 4.5, even if it's
// totally not
using (var mgr = new UpdateManager("https://path/to/my/update/folder", "nuget-package-id", FrameworkVersion.Net45))
using (var mgr = new UpdateManager("https://path/to/my/update/folder"))
{
await mgr.UpdateApp();
}
Expand Down
2 changes: 1 addition & 1 deletion docs/squirrel-events.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ If you are writing a C# app, it is **highly encouraged** to use the `SquirrelAwa
```cs
static bool ShowTheWelcomeWizard;

using (var mgr = new UpdateManager(updateUrl, appName, FrameworkVersion.Net45))
using (var mgr = new UpdateManager(updateUrl))
{
// Note, in most of these scenarios, the app exits after this method
// completes!
Expand Down
4 changes: 1 addition & 3 deletions specs/ClientImplementation.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,7 @@ And `ReleaseEntry` contains the specifics of each release:
First, check the location where your application updates are hosted:

```cs
var updateManager = new UpdateManager(@"C:\Users\brendanforster\Desktop\TestApp",
"TestApp",
FrameworkVersion.Net40);
var updateManager = new UpdateManager(@"C:\Users\brendanforster\Desktop\TestApp");

var updateInfo = await updateManager.CheckForUpdate();

Expand Down

0 comments on commit 89be441

Please sign in to comment.