Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.xiph.org/xiph/opus.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcus Asteborg <xnorpx@outlook.com>2023-05-25 07:29:25 +0300
committerMarcus Asteborg <xnorpx@outlook.com>2023-06-16 09:13:00 +0300
commit7394657096482ff41b0ceab4c2bb35b476174785 (patch)
tree589d33be438447a3d69d3a81204513a0cd39e5b2
parent334c58f2d8b2ed10288ff51400e0c4b68a683f4e (diff)
Autogen.bat for windows to download models
-rw-r--r--autogen.bat17
1 files changed, 17 insertions, 0 deletions
diff --git a/autogen.bat b/autogen.bat
new file mode 100644
index 00000000..ad05efc2
--- /dev/null
+++ b/autogen.bat
@@ -0,0 +1,17 @@
+@echo off
+REM Run this to set up the build system: configure, makefiles, etc.
+
+setlocal enabledelayedexpansion
+
+REM Parse the real autogen.sh script for version
+for /F "tokens=4 delims= " %%A in ('findstr "download_model.sh" autogen.sh') do (
+ set "model=%%A"
+)
+REM Remove trailing ")" character from the model variable
+set "model=%model:~0,-1%"
+
+cd lpcnet
+call download_model.bat %model%
+cd ..
+
+echo Updating build configuration files, please wait....