From 89e9376820e7e817b7d0052e28e973d423715811 Mon Sep 17 00:00:00 2001 From: yum Date: Tue, 26 Dec 2023 20:08:17 -0800 Subject: Statically link curation TUI Also include it in the package. --- pkg/package.ps1 | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'pkg') diff --git a/pkg/package.ps1 b/pkg/package.ps1 index 694cdea..3ba0568 100644 --- a/pkg/package.ps1 +++ b/pkg/package.ps1 @@ -70,11 +70,18 @@ if (-Not (Test-Path "silero-vad")) { git clone "https://github.com/snakers4/silero-vad" } +if (-Not (Test-Path "../curate/ui")) { + pushd ../curate/ui >$null + make + popd >$null +} + mkdir $install_dir > $null mkdir $install_dir/Models cp ../*.py $install_dir/ cp ../*.bat $install_dir/ cp ../*.txt $install_dir/ +cp ../curate/ui $install_dir/curation_tui_wsl cp -Recurse Python $install_dir/Python cp "silero-vad/files/silero_vad.onnx" $install_dir/Models/ cp "silero-vad/LICENSE" $install_dir/Models/silero_vad.onnx.LICENSE -- cgit v1.2.3