Files
ChocoPackages/drivethrurpg/tools/chocolateyinstall.ps1
2020-08-29 16:32:19 +03:00

15 lines
565 B
PowerShell

$ErrorActionPreference = 'Stop';
$toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
$url = 'http://watermark.drivethrurpg.com/DriveThruRPG-setup-win.exe'
$packageArgs = @{
packageName = $env:ChocolateyPackageName
unzipLocation = $toolsDir
fileType = 'EXE'
url = $url
softwareName = 'DriveThruRPG*'
checksum = 'EEB6DCC49272D8104108DFFD13F3163651C45F6911F9926CFC9A76F0B7E83A8A'
checksumType = 'sha256'
silentArgs = "/S"
validExitCodes= @(0, 3010, 1641)
}
Install-ChocolateyPackage @packageArgs