-
Notifications
You must be signed in to change notification settings - Fork 7
/
RVC-GUI.bat
26 lines (22 loc) · 824 Bytes
/
RVC-GUI.bat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
@echo off
REM Get the path of the script's directory
set "scriptDir=%~dp0"
REM Set the path to the Python runtime folder
set "runtimeFolder=%scriptDir%runtime"
REM Check if the runtime folder exists
REM Check if the runtime folder exists
if exist "%runtimeFolder%\python.exe" (
REM Runtime folder exists, so run the file using the runtime Python
echo Python calisma zamani ile calisiyor, lutfen bekleyin.
msg * "RVC GUI aciliyor, lutfen biraz bekleyin.."
"runtime/python.exe" rvcgui.py --pycmd "runtime/python.exe"
pause
#exit
) else (
REM Runtime folder does not exist, so run the file using the system Python
echo Python sistemi ile calisiyor.
msg * "RVC GUI aciliyor, lutfen biraz bekleyin.."
python.exe rvcgui.py --pycmd python.exe
pause
#exit
)