2020-08-19 03:22:50 +00:00
|
|
|
$ErrorActionPreference = 'Stop';
|
|
|
|
$toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
|
2022-02-03 03:34:43 +00:00
|
|
|
$url = 'https://github.com/ClementTsang/bottom/releases/download/$version/bottom_x86_64-pc-windows-msvc.zip'
|
2020-08-19 03:22:50 +00:00
|
|
|
|
|
|
|
$packageArgs = @{
|
|
|
|
packageName = $env:ChocolateyPackageName
|
|
|
|
softwareName = 'bottom'
|
|
|
|
unzipLocation = $toolsDir
|
|
|
|
fileType = 'exe'
|
|
|
|
url = $url
|
2022-02-03 03:34:43 +00:00
|
|
|
checksum = '$hash_64'
|
2020-08-19 03:22:50 +00:00
|
|
|
checksumType = 'sha1'
|
|
|
|
|
|
|
|
}
|
|
|
|
Install-ChocolateyZipPackage @packageArgs
|