From bdaeb1911297d7901a12e3ac51b38c3463789279 Mon Sep 17 00:00:00 2001 From: yum Date: Wed, 28 Jun 2023 21:24:56 -0700 Subject: Add profanity filter Add toggle to UI to enable a profanity filter. It replaces vowels in bad words with asterisks. Bugfix: filters now apply to OBS --- GUI/package.ps1 | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'GUI/package.ps1') diff --git a/GUI/package.ps1 b/GUI/package.ps1 index 4800777..db84a6d 100644 --- a/GUI/package.ps1 +++ b/GUI/package.ps1 @@ -133,6 +133,22 @@ if (-Not (Test-Path UwwwuPP)) { popd > $null } +if (-Not (Test-Path Profanity)) { + mkdir Profanity + pushd Profanity > $null + + $repo = "List-of-Dirty-Naughty-Obscene-and-Otherwise-Bad-Words" + git clone https://github.com/LDNOOBW/$repo + + mkdir Profanity + cp $repo/LICENSE Profanity/ + cp $repo/en Profanity/ + + echo "Source: https://github.com/LDNOOBW/List-of-Dirty-Naughty-Obscene-and-Otherwise-Bad-Words" > Profanity/AUTHOR + + popd > $null +} + mkdir $install_dir > $null mkdir $install_dir/Resources > $null cp -Recurse ../Animations TaSTT/Resources/Animations @@ -153,6 +169,7 @@ mkdir TaSTT/Resources/Models mkdir TaSTT/Resources/Uwu cp UwwwuPP/build/Src/Debug/Uwwwu.exe TaSTT/Resources/Uwu/ cp UwwwuPP/LICENSE TaSTT/Resources/Uwu/ +cp -r Profanity/Profanity TaSTT/Resources/Profanity if (-Not $skip_zip) { Compress-Archive -Path "$install_dir" -DestinationPath "$install_dir.zip" -Force -- cgit v1.2.3