Initial commit - 按新规范整理目录结构

- Code/: 源代码、配置文件、文档、工具
- Releases/: 发布包(v1.0)
- Test/: 测试用例和测试脚本
This commit is contained in:
2026-03-20 06:54:40 +08:00
commit 45e7d9553a
29 changed files with 5068 additions and 0 deletions

View File

@@ -0,0 +1,39 @@
@echo off
chcp 65001 >nul
echo ========================================
echo 远程连接音量自动调节器
echo Remote Volume Monitor
echo ========================================
echo.
REM 检查 Python
python --version >nul 2>&1
if errorlevel 1 (
echo [错误] 未找到 Python请先安装 Python 3.8+
pause
exit /b 1
)
REM 检查依赖
echo [检查] 验证依赖库...
python -c "import pycaw" >nul 2>&1
if errorlevel 1 (
echo [安装] 正在安装依赖库...
pip install pycaw comtypes wmi
)
python -c "import wmi" >nul 2>&1
if errorlevel 1 (
echo [安装] 正在安装 WMI 库...
pip install wmi
)
echo.
echo [启动] 开始监控远程连接...
echo [提示] 按 Ctrl+C 停止监控
echo.
REM 启动监控程序(从 scripts 目录调用 src 和 config
python "%~dp0..\src\remote_volume_monitor.py" --config "%~dp0..\config\config.ini"
pause