yum-slop/TaSTT

Free self-hosted STT for VRChat.

git clone https://git.yummers.dev/yum-slop/TaSTT

yumScrub out old C++-based Whisper code694756a

v0.19.1
604 B31 linesraw
1param(
2  [switch]$overwrite = $False,
3  [string]$release = "Release"
4)
5
6echo "Overwrite: $overwrite"
7echo "Release: $release"
8
9Set-PSDebug -trace 0
10
11$WX_3_2_1_URL = "https://github.com/wxWidgets/wxWidgets/releases/download/v3.2.1/wxWidgets-3.2.1.zip"
12$WX_URL = $WX_3_2_1_URL
13$WX_FILE = $(Split-Path -Path $WX_URL -Leaf)
14
15pushd $PSScriptRoot
16
17# WX
18if ((Test-Path wx) -And ($overwrite)) {
19  rm -Recurse wx
20}
21
22if (-Not (Test-Path wx)) {
23  mkdir wx
24  pushd wx > $null
25  Invoke-WebRequest $WX_URL -OutFile $WX_FILE
26  Expand-Archive $WX_FILE -DestinationPath .
27  popd > $null
28}
29
30popd > $null  # $PSScriptRoot
31