summaryrefslogtreecommitdiffstats
path: root/GUI/package.ps1
diff options
context:
space:
mode:
authoryum <yum.food.vr@gmail.com>2023-05-24 18:39:27 -0700
committeryum <yum.food.vr@gmail.com>2023-05-24 18:39:27 -0700
commit156a592f35ced01008516e559b62db8829baa787 (patch)
tree25953cd669d8207d0b8381df48378ffc89f916ec /GUI/package.ps1
parent78de7f02bc364606b0939d66903f02b2f91c141b (diff)
Begin work on uwu filter
Use UwwwuPP to translate your boring old speech into uwu-ified version. Still need to add a UI toggle for this.
Diffstat (limited to 'GUI/package.ps1')
-rw-r--r--GUI/package.ps118
1 files changed, 18 insertions, 0 deletions
diff --git a/GUI/package.ps1 b/GUI/package.ps1
index 7bf032b..808bedd 100644
--- a/GUI/package.ps1
+++ b/GUI/package.ps1
@@ -118,6 +118,21 @@ if (-Not (Test-Path $nvidia_dir)) {
popd > $null
}
+if (-Not (Test-Path UwwwuPP)) {
+ git clone https://github.com/Leonetienne/UwwwuPP
+ pushd UwwwuPP > $null
+ git submodule update --init --recursive
+
+ mkdir build
+ pushd build > $null
+
+ cmake.exe ..
+ cmake.exe --build .
+
+ popd > $null
+ popd > $null
+}
+
mkdir $install_dir > $null
mkdir $install_dir/Resources > $null
cp -Recurse ../Animations TaSTT/Resources/Animations
@@ -136,6 +151,9 @@ cp -Recurse ../BrowserSource TaSTT/Resources/BrowserSource
cp GUI/x64/$release/GUI.exe TaSTT/TaSTT.exe
cp ../"TaSTT-Whisper"/x64/Release/Whisper.dll TaSTT/Whisper.dll
mkdir TaSTT/Resources/Models
+mkdir TaSTT/Resources/Uwu
+cp UwwwuPP/build/Src/Debug/Uwwwu.exe TaSTT/Resources/Uwu/
+cp UwwwuPP/LICENSE TaSTT/Resources/Uwu/
if (-Not $skip_zip) {
Compress-Archive -Path "$install_dir" -DestinationPath "$install_dir.zip" -Force