From 35ea7b90e0357508d30d5f68d5d22f9b116d0476 Mon Sep 17 00:00:00 2001 From: litagin02 Date: Wed, 27 Dec 2023 09:56:43 +0900 Subject: [PATCH] Try to fix bat file error --- App.bat | 3 +-- Style.bat | 2 ++ Train.bat | 2 ++ scripts/Install-Style-Bert-VITS2.bat | 4 ++-- scripts/Setup-Python.bat | 4 ++-- scripts/Setup.bat | 4 ++-- 6 files changed, 11 insertions(+), 8 deletions(-) diff --git a/App.bat b/App.bat index 120de40..7867d59 100644 --- a/App.bat +++ b/App.bat @@ -1,5 +1,4 @@ -@REM 改行コードがLFだとエラーが出るのでCRLFにしないといけない…… - +chcp 65001 > NUL @echo off echo Running app.py... diff --git a/Style.bat b/Style.bat index e99185c..54c2abb 100644 --- a/Style.bat +++ b/Style.bat @@ -1,3 +1,5 @@ +chcp 65001 > NUL + @echo off echo Running webui_style_vectors.py... diff --git a/Train.bat b/Train.bat index b1867fe..9a6d4c5 100644 --- a/Train.bat +++ b/Train.bat @@ -1,3 +1,5 @@ +chcp 65001 > NUL + @echo off echo Running webui_train.py... diff --git a/scripts/Install-Style-Bert-VITS2.bat b/scripts/Install-Style-Bert-VITS2.bat index f0db958..bfeb09d 100644 --- a/scripts/Install-Style-Bert-VITS2.bat +++ b/scripts/Install-Style-Bert-VITS2.bat @@ -1,8 +1,8 @@ +chcp 65001 > NUL + @REM https://github.com/Zuntan03/EasyBertVits2 より引用・改変 -@REM 改行コードがLFだとエラーが出るのでCRLFにしないといけない…… @echo off -chcp 65001 > NUL pushd %~dp0 set PS_CMD=PowerShell -Version 5.1 -ExecutionPolicy Bypass diff --git a/scripts/Setup-Python.bat b/scripts/Setup-Python.bat index a43e4f3..17fd23f 100644 --- a/scripts/Setup-Python.bat +++ b/scripts/Setup-Python.bat @@ -1,8 +1,8 @@ +chcp 65001 > NUL + @REM https://github.com/Zuntan03/EasyBertVits2 より引用・改変 -@REM 改行コードがLFだとエラーが出るのでCRLFにしないといけない…… @echo off -chcp 65001 > NUL set PS_CMD=PowerShell -Version 5.1 -ExecutionPolicy Bypass set CURL_CMD=C:\Windows\System32\curl.exe diff --git a/scripts/Setup.bat b/scripts/Setup.bat index 60b0f3a..5a3c1d3 100644 --- a/scripts/Setup.bat +++ b/scripts/Setup.bat @@ -1,8 +1,8 @@ +chcp 65001 > NUL + @REM https://github.com/Zuntan03/EasyBertVits2 より引用・改変 -@REM 改行コードがLFだとエラーが出るのでCRLFにしないといけない…… @echo off -chcp 65001 > NUL pushd %~dp0.. set PS_CMD=PowerShell -Version 5.1 -ExecutionPolicy Bypass