chocolatey-packages/tools/chocolateyinstall.ps1
Steven Pickles 2ac17f07ee Remove comments from tools/chocolateyinstall.ps1 as recommended
Chocolatey install documentation recommends removing all comments from
the tools/chocolateyinstall.ps1 file before releasing the package.
2020-03-10 11:49:09 -04:00

41 lines
634 B
PowerShell

$ErrorActionPreference = 'Stop';
$toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
$url = 'https://staticcontent.cricut.com/a/software/win32-native/Cricut%20Design%20Space%20Install%20v5.6.19.exe'
$packageArgs = @{
packageName = $env:ChocolateyPackageName
unzipLocation = $toolsDir
fileType = 'EXE'
url = $url
softwareName = 'cricutdesignspace*'
checksum = 'E9096A6E69A46AE816075392B722436237811A48E570C5007C9822B7C31B2753'
checksumType = 'sha256'
silentArgs = '/S'
validExitCodes= @(0)
}
Install-ChocolateyPackage @packageArgs