mirror of
https://github.com/onyx-and-iris/nvda-voicemeeter.git
synced 2024-11-21 17:40:48 +00:00
20 lines
542 B
PowerShell
20 lines
542 B
PowerShell
function Compress-Builds {
|
|
$target = Join-Path -Path $PSScriptRoot -ChildPath "dist"
|
|
@("basic", "banana", "potato") | ForEach-Object {
|
|
Compress-Archive -Path $(Join-Path -Path $target -ChildPath $_) -DestinationPath $(Join-Path -Path $target -ChildPath "${_}.zip") -Force
|
|
}
|
|
}
|
|
|
|
function Get-Builds {
|
|
@("basic", "banana", "potato") | ForEach-Object {
|
|
pdm run pyinstaller "${_}.spec" --noconfirm
|
|
}
|
|
}
|
|
|
|
function main {
|
|
Get-Builds
|
|
|
|
Compress-Builds
|
|
}
|
|
|
|
if ($MyInvocation.InvocationName -ne '.') { main } |