mirror of
https://github.com/Tyrrrz/DiscordChatExporter.git
synced 2026-07-14 01:31:33 +02:00
Add deploy via chocolatey
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user