Add deploy via chocolatey

This commit is contained in:
Alexey Golub
2019-04-07 13:01:38 +03:00
parent d13d04e75b
commit 640b1f5866
5 changed files with 81 additions and 10 deletions

View File

@@ -0,0 +1,19 @@
$ErrorActionPreference = 'Stop';
# --- GUI ---
$packageArgs = @{
packageName = $env:ChocolateyPackageName
unzipLocation = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
url = 'https://github.com/Tyrrrz/DiscordChatExporter/releases/download/2.11/DiscordChatExporter.zip'
}
Install-ChocolateyZipPackage @packageArgs
# --- CLI ---
$packageArgs = @{
packageName = $env:ChocolateyPackageName
unzipLocation = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
url = 'https://github.com/Tyrrrz/DiscordChatExporter/releases/download/2.11/DiscordChatExporter.CLI.zip'
}
Install-ChocolateyZipPackage @packageArgs