-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstart.bat
More file actions
45 lines (40 loc) · 1.63 KB
/
start.bat
File metadata and controls
45 lines (40 loc) · 1.63 KB
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
@echo off
chcp 65001 >nul
title PyDisplayWindow Launcher
echo.
echo ╔═══════════════════════════════════════════════════════════╗
echo ║ PyDisplayWindow - Display to Window ║
echo ║ Capture Stream Application ║
echo ╚═══════════════════════════════════════════════════════════╝
echo.
echo Checking dependencies...
python --version >nul 2>&1
if errorlevel 1 (
echo [ERROR] Python not found! Please install Python 3.8 or higher.
pause
exit /b 1
)
echo [OK] Python detected
echo.
echo Installing/Updating dependencies...
pip install -q PyQt6 Pillow numpy opencv-python
if errorlevel 1 (
echo [WARNING] Some dependencies may not be installed correctly.
echo Please run: pip install PyQt6 Pillow numpy opencv-python
echo.
)
echo [OK] Dependencies ready
echo.
echo ═══════════════════════════════════════════════════════════
echo Starting PyDisplayWindow...
echo ═══════════════════════════════════════════════════════════
echo.
echo Tip: Use Ctrl+D to select display, Ctrl+Q to quit
echo.
python main.py
if errorlevel 1 (
echo.
echo [ERROR] Application exited with error.
echo.
pause
)