summaryrefslogtreecommitdiffstats
path: root/GUI/package.ps1
diff options
context:
space:
mode:
Diffstat (limited to 'GUI/package.ps1')
-rw-r--r--GUI/package.ps18
1 files changed, 7 insertions, 1 deletions
diff --git a/GUI/package.ps1 b/GUI/package.ps1
index 74fd7c7..400ad6c 100644
--- a/GUI/package.ps1
+++ b/GUI/package.ps1
@@ -1,3 +1,7 @@
+param(
+ [switch]$skip_zip = $false
+)
+
$install_dir = "TaSTT"
if (Test-Path $install_dir) {
@@ -72,5 +76,7 @@ cp -Recurse ../Sounds TaSTT/Resources/Sounds
cp -Recurse ../UnityAssets TaSTT/Resources/UnityAssets
cp GUI/x64/Release/GUI.exe TaSTT/TaSTT.exe
-Compress-Archive -Path "$install_dir" -DestinationPath "$install_dir.zip" -Force
+if (-Not $skip_zip) {
+ Compress-Archive -Path "$install_dir" -DestinationPath "$install_dir.zip" -Force
+}