-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrun_windows.bat
More file actions
41 lines (35 loc) · 949 Bytes
/
run_windows.bat
File metadata and controls
41 lines (35 loc) · 949 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
@echo off
REM FFmpeg GUI - Windows Run Script
REM Quick launcher for the application
echo ===========================================
echo FFmpeg GUI - Starting Application
echo ===========================================
echo.
REM Check if virtual environment exists
if not exist ".venv" (
echo Virtual environment not found!
echo Please run setup_windows.bat first to set up the environment.
echo.
pause
exit /b 1
)
REM Activate virtual environment
call .venv\Scripts\activate.bat
REM Check if GUI file exists
if not exist "GUI_pyqt6_WINFF.py" (
echo GUI_pyqt6_WINFF.py not found!
echo Make sure you are in the correct directory.
echo.
pause
exit /b 1
)
REM Run the PyQt6 version
echo Starting FFmpeg GUI (PyQt6 version)...
echo.
python GUI_pyqt6_WINFF.py
REM Keep window open if there was an error
if %errorlevel% neq 0 (
echo.
echo Application exited with error code %errorlevel%
pause
)