Configurable paths (config.sh + generated env), vendored speech.h, merge docs

This commit is contained in:
Fisto
2026-09-16 08:38:19 +02:00
parent 6d010292f2
commit 805c960a4a
11 changed files with 6841 additions and 73 deletions
+5 -8
View File
@@ -7,18 +7,15 @@
set -eu
HERE=$(CDPATH= cd -- "$(dirname -- "$0")" && pwd)
ROOT=$(CDPATH= cd -- "$HERE/.." && pwd)
ASSETS=${1:-$ROOT/../Microsoft-Sam-Mary-Mike-TruVoice-WSAPI4}
. "$HERE/config.sh"
ASSETS=${1:-$MICROSLOP_ASSETS}
[ -d "$ASSETS/spchapi" ] || { echo "asset dir not found: $ASSETS" >&2; exit 1; }
export WINEPREFIX=${WINEPREFIX:-$HOME/.wine-microslopsam}
export WINEARCH=win32
if [ -z "${DISPLAY:-}" ]; then
WRUN="xvfb-run -a wine"
WRUN="xvfb-run -a $MICROSLOP_WINE"
else
WRUN="wine"
WRUN="$MICROSLOP_WINE"
fi
echo "== prefix: $WINEPREFIX"
@@ -48,4 +45,4 @@ $WRUN regedit /S "$HERE/out-spchapi.reg"
$WRUN regedit /S "$HERE/out-mstts.reg"
echo "== done"
echo "list voices: $WRUN $ROOT/host/sapi4host.exe -l"
echo "list voices: $WRUN $MICROSLOP_BUILD/sapi4host.exe -l"