DriveThruRPG
This commit is contained in:
15
DriveThruRPG/tools/chocolateyinstall.ps1
Normal file
15
DriveThruRPG/tools/chocolateyinstall.ps1
Normal file
@@ -0,0 +1,15 @@
|
||||
$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
|
Reference in New Issue
Block a user