mirror of
https://github.com/Tyrrrz/DiscordChatExporter.git
synced 2026-04-20 21:18:23 +00:00
Add deploy via chocolatey
This commit is contained in:
19
Deploy/Choco/tools/chocolateyinstall.ps1
Normal file
19
Deploy/Choco/tools/chocolateyinstall.ps1
Normal 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
|
||||
Reference in New Issue
Block a user