forked from kohya-ss/musubi-tuner
-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathLAUNCH_GUI.bat
More file actions
30 lines (24 loc) · 727 Bytes
/
LAUNCH_GUI.bat
File metadata and controls
30 lines (24 loc) · 727 Bytes
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
27
28
29
30
@echo off
TITLE Musubi Tuner GUI Launcher
REM Get the directory where the batch file is located
SET "BATCH_DIR=%~dp0"
ECHO Looking for virtual environment in: "%BATCH_DIR%venv"
ECHO.
REM Check if the activate script exists
IF NOT EXIST "%BATCH_DIR%venv\Scripts\activate.bat" (
ECHO ERROR: Virtual environment not found.
ECHO Please make sure the 'venv' folder exists in the same directory as this script.
ECHO.
PAUSE
EXIT /B 1
)
ECHO --- Activating Virtual Environment ---
CALL "%BATCH_DIR%venv\Scripts\activate.bat"
ECHO.
ECHO --- Starting Musubi Tuner GUI ---
ECHO Please wait for the application to load...
ECHO.
python "%BATCH_DIR%musubi_tuner_gui.py"
ECHO.
ECHO --- GUI has been closed. ---
PAUSE