-
Notifications
You must be signed in to change notification settings - Fork 25
Expand file tree
/
Copy pathrun_windows.bat
More file actions
49 lines (44 loc) · 979 Bytes
/
Copy pathrun_windows.bat
File metadata and controls
49 lines (44 loc) · 979 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
40
41
42
43
44
45
46
47
48
49
@echo off
REM
echo Starting RJ Auto Metadata...
echo.
REM
python --version >nul 2>&1
if %errorlevel% neq 0 (
echo ERROR: Python not found!
echo Please install Python 3.9+ or run setup_windows.bat
echo.
pause
exit /b 1
)
REM
if not exist main.py (
echo ERROR: main.py not found!
echo Please run this script from the RJ Auto Metadata directory.
echo Current directory: %CD%
echo.
pause
exit /b 1
)
REM
python -c "import customtkinter" 2>nul
if %errorlevel% neq 0 (
echo Dependencies not installed. Installing...
python -m pip install -r requirements.txt
if %errorlevel% neq 0 (
echo.
echo ERROR: Failed to install dependencies.
echo Please run setup_windows.bat
echo.
pause
exit /b 1
)
)
REM
echo Launching application...
echo Close this window to stop the application.
echo.
python main.py
echo.
echo Application closed. Thanks for using RJ Auto Metadata!
pause