From a65d6dbdd3afbf688b44cbe2bd604eaabde52432 Mon Sep 17 00:00:00 2001 From: Aitor Emper <74368135+aitronssesin@users.noreply.github.com> Date: Mon, 18 Sep 2023 22:53:36 +0200 Subject: [PATCH] Update reinstaller --- go-applio-manager.bat | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/go-applio-manager.bat b/go-applio-manager.bat index a279f5646..05a93e883 100644 --- a/go-applio-manager.bat +++ b/go-applio-manager.bat @@ -179,19 +179,22 @@ curl -LJO "%URL_BASE%/ffprobe.exe" echo. cls -echo Downloads completed! +echo Downloading torchcrepe +mkdir temp_torchcrepe echo. -echo Checking if the local_fixes.py file exists in the Fixes folder... -if exist "%fixesFolder%\%localFixesPy%" ( - echo Running the file... - runtime\python.exe "%fixesFolder%\%localFixesPy%" -) else ( - echo The "%localFixesPy%" file was not found in the "Fixes" folder. -) +echo Clone the GitHub repository to the temporary directory +git clone --depth 1 https://github.com/maxrmorrison/torchcrepe.git temp_torchcrepe + +echo Copy the "torchcrepe" folder and its contents to the current directory +robocopy "temp_torchcrepe\torchcrepe" ".\torchcrepe" /E echo. -echo Fixes Applied! +echo Remove the temporary directory +rmdir /s /q temp_torchcrepe +echo. + +echo Downloads completed! echo. echo Applio has been reinstalled!