Skip to content
This repository has been archived by the owner on Jul 5, 2024. It is now read-only.

Update README.md #188

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,12 +50,21 @@ Apps should be as fast easy to install. Update should be seamless like Google Ch
2. Add SquirrelAwareVersion to your assembly manifest to indicate that your exe supports Squirrel.
Note: In newer .NET Core versions you first need to add the Application Manifest through New Item window.

app.manifest:
```xml
<?xml version="1.0" encoding="utf-8"?>
<assembly manifestVersion="1.0" xmlns="urn:schemas-microsoft-com:asm.v1">
<SquirrelAwareVersion xmlns="urn:schema-squirrel-com:asm.v1">1</SquirrelAwareVersion>
</assembly>
```
YourApp.csproj:
```xml
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<ApplicationManifest>YourApp\app.manifest</ApplicationManifest>
</PropertyGroup>
</Project>
```

3. Handle Squirrel events somewhere very early in your application startup (such as the beginning of `main()` or `Application.OnStartup()` for WPF).

Expand Down