mirror of
https://github.com/xiph/opus.git
synced 2025-05-14 23:48:28 +00:00
Autogen.bat for windows to download models
This commit is contained in:
parent
84484a6790
commit
d819cde563
1 changed files with 17 additions and 0 deletions
17
autogen.bat
Normal file
17
autogen.bat
Normal file
|
@ -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....
|
Loading…
Add table
Add a link
Reference in a new issue