diff --git a/packaging/chocolatey/tools/chocolateyinstall.ps1 b/packaging/chocolatey/tools/chocolateyinstall.ps1 index e13f4d5..2d5e898 100644 --- a/packaging/chocolatey/tools/chocolateyinstall.ps1 +++ b/packaging/chocolatey/tools/chocolateyinstall.ps1 @@ -1,13 +1,14 @@ $ErrorActionPreference = 'Stop'; -$packageName= 'unicreds' # arbitrary name for the package, used in messages +$packageName= 'unicreds' $toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)" -$url = '{{DownloadUrl}}' # download url for 32-bit -$url64 = 'https://github.com/Versent/unicreds/releases/download/1.5.1/unicreds_1.5.1_windows_amd64.tar.gz' # +$url64 = 'https://github.com/Versent/unicreds/releases/download/1.5.1/unicreds_1.5.1_windows_amd64.tar.gz' Install-ChocolateyZipPackage -PackageName $packageName ` -Url64 $url64 ` - -UnzipLocation $toolsDir + -UnzipLocation $toolsDir ` + -ChecksumType 'md5' ` + -Checksum64 '75D8B2496675A2AFDC41F865472AB18A' $filename = [System.IO.Path]::GetFileNameWithoutExtension($(Split-Path $url64 -Leaf)) diff --git a/packaging/chocolatey/tools/chocolateyuninstall.ps1 b/packaging/chocolatey/tools/chocolateyuninstall.ps1 deleted file mode 100644 index e69de29..0000000 diff --git a/packaging/chocolatey/unicreds.nuspec b/packaging/chocolatey/unicreds.nuspec index 5a0f0a2..fbc8cfe 100644 --- a/packaging/chocolatey/unicreds.nuspec +++ b/packaging/chocolatey/unicreds.nuspec @@ -5,7 +5,7 @@