DriveThruRPG
This commit is contained in:
11
drivethrurpg/tools/LICENSE.txt
Normal file
11
drivethrurpg/tools/LICENSE.txt
Normal file
@@ -0,0 +1,11 @@
|
||||
|
||||
Note: Include this file if including binaries you have the right to distribute.
|
||||
Otherwise delete. this file.
|
||||
|
||||
===DELETE ABOVE THIS LINE AND THIS LINE===
|
||||
|
||||
From: <insert applicable license url here>
|
||||
|
||||
LICENSE
|
||||
|
||||
<Insert License Here>
|
13
drivethrurpg/tools/VERIFICATION.txt
Normal file
13
drivethrurpg/tools/VERIFICATION.txt
Normal file
@@ -0,0 +1,13 @@
|
||||
|
||||
Note: Include this file if including binaries you have the right to distribute.
|
||||
Otherwise delete. this file. If you are the software author, you can change this
|
||||
mention you are the author of the software.
|
||||
|
||||
===DELETE ABOVE THIS LINE AND THIS LINE===
|
||||
|
||||
VERIFICATION
|
||||
Verification is intended to assist the Chocolatey moderators and community
|
||||
in verifying that this package's contents are trustworthy.
|
||||
|
||||
<Include details of how to verify checksum contents>
|
||||
<If software vendor, explain that here - checksum verification instructions are optional>
|
9
drivethrurpg/tools/chocolateybeforemodify.ps1
Normal file
9
drivethrurpg/tools/chocolateybeforemodify.ps1
Normal file
@@ -0,0 +1,9 @@
|
||||
# This runs in 0.9.10+ before upgrade and uninstall.
|
||||
# Use this file to do things like stop services prior to upgrade or uninstall.
|
||||
# NOTE: It is an anti-pattern to call chocolateyUninstall.ps1 from here. If you
|
||||
# need to uninstall an MSI prior to upgrade, put the functionality in this
|
||||
# file without calling the uninstall script. Make it idempotent in the
|
||||
# uninstall script so that it doesn't fail when it is already uninstalled.
|
||||
# NOTE: For upgrades - like the uninstall script, this script always runs from
|
||||
# the currently installed version, not from the new upgraded package version.
|
||||
|
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
|
1
drivethrurpg/tools/chocolateyuninstall.ps1
Normal file
1
drivethrurpg/tools/chocolateyuninstall.ps1
Normal file
@@ -0,0 +1 @@
|
||||
cmd /c "C:\Program Files (x86)\DriveThruRPG\Uninstaller.exe" /S
|
Reference in New Issue
Block a user