-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstart_export_studio_gui.bat
More file actions
39 lines (32 loc) · 917 Bytes
/
start_export_studio_gui.bat
File metadata and controls
39 lines (32 loc) · 917 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
31
32
33
34
35
36
37
38
39
@echo off
setlocal
set SCRIPT_DIR=%~dp0
cd /d "%SCRIPT_DIR%"
echo ===========================================
echo Bandofy Export Studio - One Click GUI
echo ===========================================
where python >nul 2>&1
if %ERRORLEVEL%==0 (
set "PYTHON=python"
) else (
where py >nul 2>&1
if %ERRORLEVEL%==0 (
set "PYTHON=py -3"
) else (
echo Python 3 was not found. Please install it from https://www.python.org/downloads/ and rerun this file.
pause
exit /b 1
)
)
if not exist ".venv\Scripts\python.exe" (
echo Creating virtual environment (.venv)...
%PYTHON% -m venv .venv
)
call ".venv\Scripts\activate.bat"
echo Installing requirements (this is quick; stdlib only)...
pip install -r requirements.txt
echo Launching Bandofy Export Studio GUI...
python -m bandofy_export_studio gui
echo.
echo Close this window after you exit the app.
pause