-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathrun.bat
More file actions
39 lines (33 loc) · 788 Bytes
/
run.bat
File metadata and controls
39 lines (33 loc) · 788 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
chcp 65001 >nul
REM WinMsgHub Startup Script
REM Author: Qingyun Production - Peng Minghang
echo ========================================
echo WinMsgHub
echo ========================================
echo.
REM Check if Python is installed
python --version >nul 2>&1
if errorlevel 1 (
echo Error: Python not found, please install Python 3.9+
pause
exit /b 1
)
REM Check if dependencies are installed
echo Checking dependencies...
python -c "import PyQt6" >nul 2>&1
if errorlevel 1 (
echo Installing dependencies...
python -m pip install -r requirements.txt
if errorlevel 1 (
echo Error: Failed to install dependencies
pause
exit /b 1
)
)
echo.
echo Starting WinMsgHub...
echo.
REM Run the application
python main.py
pause