Debian Codegraph @

scripts/windows/choco/chocolateyinstall.ps1.template

raw
1 $ErrorActionPreference = 'Stop';
2 $toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
3 $url = 'https://github.com/ClementTsang/bottom/releases/download/$version/bottom_x86_64-pc-windows-msvc.zip'
4
5 $packageArgs = @{
6 packageName = $env:ChocolateyPackageName
7 softwareName = 'bottom'
8 unzipLocation = $toolsDir
9 fileType = 'exe'
10 url = $url
11 checksum = '$hash_64'
12 checksumType = 'sha1'
13
14 }
15 Install-ChocolateyZipPackage @packageArgs