chocolatey-packages/cricut-design-space/tools/chocolateyinstall.ps1

41 lines
635 B
PowerShell
Raw Normal View History


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