diff --git a/LICENSE b/LICENSE
index 79707ec..1d027dd 100644
--- a/LICENSE
+++ b/LICENSE
@@ -1,6 +1,8 @@
+https://github.com/c80k/capnproto-dotnetcore/blob/master/LICENSE
+
MIT License
-Copyright (c) 2019 c80k
+Copyright (c) 2019 c80k and contributors
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
diff --git a/chocolatey/VERIFICATION b/chocolatey/VERIFICATION
index 999a956..995ab7c 100644
--- a/chocolatey/VERIFICATION
+++ b/chocolatey/VERIFICATION
@@ -2,5 +2,6 @@ VERIFICATION
Verification is intended to assist the Chocolatey moderators and community
in verifying that this package's contents are trustworthy.
-This package is published by the capnproto-dotnetcore project itself. Any binaries will be
-identical to other package types published by the project.
\ No newline at end of file
+This package is published by the capnproto-dotnetcore project itself.
+To reproduce this package, obtain the sources from GitHub and execute scripts\capnpc-csharp-pack.ps1
+The script will generate the exact NuGet package(s) which are to be pushed to Chocolatey.
diff --git a/chocolatey/capnpc-csharp-win-x86/capnpc-csharp-win-x86.nuspec b/chocolatey/capnpc-csharp-win-x86/capnpc-csharp-win-x86.nuspec
index cda2546..c3ecf05 100644
--- a/chocolatey/capnpc-csharp-win-x86/capnpc-csharp-win-x86.nuspec
+++ b/chocolatey/capnpc-csharp-win-x86/capnpc-csharp-win-x86.nuspec
@@ -5,16 +5,20 @@
1.0.0
https://chocolatey.org/packages/capnpc-csharp-win-x86/1.0.0
Christian Köllner and contributors
- Christian Köllner and contributors
+ Christian Köllner
false
- https://licenses.nuget.org/MIT
+ https://github.com/c80k/capnproto-dotnetcore/blob/master/LICENSE
https://github.com/c80k/capnproto-dotnetcore
capnpc-csharp (Install)
Cap'n Proto C# code generator backend, self-contained Windows x86
Christian Köllner and contributors
+ https://github.com/c80k/capnproto-dotnetcore
+ https://github.com/c80k/capnproto-dotnetcore/wiki
+ https://github.com/c80k/capnproto-dotnetcore/issues
capnp capnpc RPC serialization cerealization
- Cap'n Proto C# code generator backend, self-contained Windows x86
+ Cap'n Proto C# code generator backend. This is the self-contained variant. It requires Windows x86/x64
+ (as opposed to the capnpc-csharp package, which is CPU-independent but requires a .NET Core runtime)
@@ -25,6 +29,6 @@
-
+
\ No newline at end of file
diff --git a/chocolatey/capnpc-csharp-win-x86/chocolateyinstall.ps1 b/chocolatey/capnpc-csharp-win-x86/chocolateyinstall.ps1
index 025b147..0a6db46 100644
--- a/chocolatey/capnpc-csharp-win-x86/chocolateyinstall.ps1
+++ b/chocolatey/capnpc-csharp-win-x86/chocolateyinstall.ps1
@@ -1,5 +1,5 @@
$ErrorActionPreference = 'Stop'
-$toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
+$binDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)\..\bin"
-Install-Binfile -Name capnpc-csharp -Path "$toolsDir\capnpc-csharp.exe"
+Install-Binfile -Name capnpc-csharp -Path "$binDir\capnpc-csharp.exe"
diff --git a/chocolatey/capnpc-csharp/capnpc-csharp.nuspec b/chocolatey/capnpc-csharp/capnpc-csharp.nuspec
index 89d81e4..c0a06eb 100644
--- a/chocolatey/capnpc-csharp/capnpc-csharp.nuspec
+++ b/chocolatey/capnpc-csharp/capnpc-csharp.nuspec
@@ -5,26 +5,31 @@
1.0.0
https://chocolatey.org/packages/capnpc-csharp/1.0.0
Christian Köllner and contributors
- Christian Köllner and contributors
+ Christian Köllner
false
- https://licenses.nuget.org/MIT
+ https://github.com/c80k/capnproto-dotnetcore/blob/master/LICENSE
https://github.com/c80k/capnproto-dotnetcore
capnpc-csharp (Install)
Cap'n Proto C# code generator backend, portable .NET Core 2.1
- Cap'n Proto C# code generator backend, portable .NET Core 2.1
+ Cap'n Proto C# code generator backend. This is the portable variant which depends on .NET Core 2.1 (as opposed to capnpc-csharp-win-x86)
Christian Köllner and contributors
+ https://github.com/c80k/capnproto-dotnetcore
+ https://github.com/c80k/capnproto-dotnetcore/wiki
+ https://github.com/c80k/capnproto-dotnetcore/issues
capnp capnpc RPC serialization cerealization
+
+
-
+
\ No newline at end of file
diff --git a/chocolatey/capnpc-csharp/capnpc-csharp.ps1 b/chocolatey/capnpc-csharp/capnpc-csharp.ps1
new file mode 100644
index 0000000..1ef65e0
--- /dev/null
+++ b/chocolatey/capnpc-csharp/capnpc-csharp.ps1
@@ -0,0 +1,2 @@
+$myDir = Split-Path -Parent $MyInvocation.MyCommand.Path
+dotnet "$myDir\..\bin\capnpc-csharp.dll"
diff --git a/chocolatey/capnpc-csharp/chocolateyinstall.ps1 b/chocolatey/capnpc-csharp/chocolateyinstall.ps1
index cc77a2d..c413612 100644
--- a/chocolatey/capnpc-csharp/chocolateyinstall.ps1
+++ b/chocolatey/capnpc-csharp/chocolateyinstall.ps1
@@ -2,4 +2,4 @@ $ErrorActionPreference = 'Stop'
$toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
-Install-Binfile -Name capnpc-csharp -Path "dotnet" -Command "$toolsDir\capnpc-csharp.dll"
\ No newline at end of file
+Install-ChocolateyPowershellCommand -PackageName 'capnpc-csharp' -PsFileFullPath "$toolsDir\capnpc-csharp.ps1"
diff --git a/chocolatey/capnpc-csharp/chocolateyuninstall.ps1 b/chocolatey/capnpc-csharp/chocolateyuninstall.ps1
index e327e42..40af84f 100644
--- a/chocolatey/capnpc-csharp/chocolateyuninstall.ps1
+++ b/chocolatey/capnpc-csharp/chocolateyuninstall.ps1
@@ -1,3 +1 @@
$ErrorActionPreference = 'Stop'
-
-Uninstall-BinFile capnpc-sharp
\ No newline at end of file
diff --git a/scripts/capnpc-csharp-install-win-x86.ps1 b/scripts/capnpc-csharp-install-win-x86.ps1
index 9d85b58..760be81 100644
--- a/scripts/capnpc-csharp-install-win-x86.ps1
+++ b/scripts/capnpc-csharp-install-win-x86.ps1
@@ -6,3 +6,5 @@ $installDir = "$scriptDir\..\chocolatey\install"
if (!([Security.Principal.WindowsPrincipal][Security.Principal.WindowsIdentity]::GetCurrent()).IsInRole([Security.Principal.WindowsBuiltInRole] "Administrator")) { Start-Process powershell.exe "-NoProfile -ExecutionPolicy Bypass -File `"$PSCommandPath`"" -Verb RunAs; exit }
choco install $id -s $installDir --force
+
+Pause
\ No newline at end of file
diff --git a/scripts/capnpc-csharp-install.ps1 b/scripts/capnpc-csharp-install.ps1
index cb04d34..adf0006 100644
--- a/scripts/capnpc-csharp-install.ps1
+++ b/scripts/capnpc-csharp-install.ps1
@@ -5,4 +5,6 @@ $installDir = "$scriptDir\..\chocolatey\install"
if (!([Security.Principal.WindowsPrincipal][Security.Principal.WindowsIdentity]::GetCurrent()).IsInRole([Security.Principal.WindowsBuiltInRole] "Administrator")) { Start-Process powershell.exe "-NoProfile -ExecutionPolicy Bypass -File `"$PSCommandPath`"" -Verb RunAs; exit }
-choco install $id -s $installDir --force
+choco install $id --source="'$installDir;https://chocolatey.org/api/v2'" --force
+
+Pause
\ No newline at end of file