mirror of
https://github.com/ClementTsang/bottom
synced 2024-12-01 00:19:11 +00:00
15 lines
487 B
Text
15 lines
487 B
Text
$ErrorActionPreference = 'Stop';
|
|
$toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
|
|
$url = 'https://github.com/ClementTsang/bottom/releases/download/$version/bottom_x86_64-pc-windows-msvc.zip'
|
|
|
|
$packageArgs = @{
|
|
packageName = $env:ChocolateyPackageName
|
|
softwareName = 'bottom'
|
|
unzipLocation = $toolsDir
|
|
fileType = 'exe'
|
|
url = $url
|
|
checksum = '$hash_64'
|
|
checksumType = 'sha1'
|
|
|
|
}
|
|
Install-ChocolateyZipPackage @packageArgs
|