mirror of
https://github.com/MillironX/chocolatey-packages.git
synced 2024-11-26 15:39:55 +00:00
16 lines
No EOL
577 B
PowerShell
16 lines
No EOL
577 B
PowerShell
$ErrorActionPreference = 'Stop'; # stop on all errors
|
|
$toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
|
|
$fileLocation = Join-Path $toolsDir 'Setup-Trelby-2.2.exe'
|
|
$packageArgs = @{
|
|
packageName = $env:ChocolateyPackageName
|
|
unzipLocation = $toolsDir
|
|
fileType = 'EXE'
|
|
file = $fileLocation
|
|
|
|
softwareName = 'Trelby*'
|
|
checksum = '1D8A55160B2814D76672D9FD45A07D00236CEC242550B068B2BB558B48E217B'
|
|
checksumType = 'sha256'
|
|
silentArgs = '/S' # NSIS
|
|
}
|
|
|
|
Install-ChocolateyInstallPackage @packageArgs |