Skip to content

Commit 1ba83c7

Browse files
committed
Merge pull request #354 from ricardopolo/master
Docs updated to 1.0
2 parents caef279 + 89be441 commit 1ba83c7

File tree

4 files changed

+4
-8
lines changed

4 files changed

+4
-8
lines changed

docs/api.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,7 @@ This is the assembly your project should reference in order to use Squirrel in-a
77
Main entry point for using Squirrel functionality. Here's an example of how to create one:
88

99
```cs
10-
using (var mgr = new UpdateManager(
11-
@"http://your-server/releases", "your-nuget-package-id",
12-
FrameworkVersion.Net45))
10+
using (var mgr = new UpdateManager("http://your-server/releases"))
1311
{
1412
// Use updateManager
1513
}

docs/getting-started.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
```cs
1212
// NB: For this version, always say your app is using .NET 4.5, even if it's
1313
// totally not
14-
using (var mgr = new UpdateManager("https://path/to/my/update/folder", "nuget-package-id", FrameworkVersion.Net45))
14+
using (var mgr = new UpdateManager("https://path/to/my/update/folder"))
1515
{
1616
await mgr.UpdateApp();
1717
}

docs/squirrel-events.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ If you are writing a C# app, it is **highly encouraged** to use the `SquirrelAwa
4848
```cs
4949
static bool ShowTheWelcomeWizard;
5050

51-
using (var mgr = new UpdateManager(updateUrl, appName, FrameworkVersion.Net45))
51+
using (var mgr = new UpdateManager(updateUrl))
5252
{
5353
// Note, in most of these scenarios, the app exits after this method
5454
// completes!

specs/ClientImplementation.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,9 +75,7 @@ And `ReleaseEntry` contains the specifics of each release:
7575
First, check the location where your application updates are hosted:
7676

7777
```cs
78-
var updateManager = new UpdateManager(@"C:\Users\brendanforster\Desktop\TestApp",
79-
"TestApp",
80-
FrameworkVersion.Net40);
78+
var updateManager = new UpdateManager(@"C:\Users\brendanforster\Desktop\TestApp");
8179

8280
var updateInfo = await updateManager.CheckForUpdate();
8381

0 commit comments

Comments
 (0)