From 42f8275d84ad431c19b7c22ac702e58ac95d0680 Mon Sep 17 00:00:00 2001 From: yum Date: Sun, 19 Feb 2023 13:35:23 -0800 Subject: Transcription and Unity input fields now auto-synchronize When you generate Unity assets, you have to configure rows/cols/chars per sync/ bytes per char. When you switch over to the transcription panel, these choices will be automatically populated. This should reduce accidental mismatch between the two panels. * Merge Config classes. Now just use one big AppConfig class instead of one class per panel. * Factor out (most) input field initialization into a function. Call it when switching panels so input fields synchronize. * Wrap a lot of lines at 80 columns. * Add -skip_zip switch to package.ps1. --- GUI/package.ps1 | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'GUI/package.ps1') 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 +} -- cgit v1.2.3