Files
remote-volume-monitor/scripts/启动监控.bat
Agent f4569093d7 v1.1.0 修复:启动脚本和日志等级配置
修复问题:
1. 启动监控.bat 添加窗口设置(title/mode/color),修复 Windows 换行符问题
2. 日志等级现在按配置文件 [logging] level 设置
3. 移除启动脚本的 Python 依赖自动安装功能

优化:
- 启动脚本初始化时设置窗口标题、大小和颜色
- 日志配置支持从配置文件动态读取等级
2026-03-20 16:55:11 +08:00

30 lines
693 B
Batchfile
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
@echo off
title 远程连接音量自动调节器 -By:LeeQwQ
mode con cols=65 lines=18
color 0B
chcp 65001 >nul
cls
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
)
echo.
echo [启动] 开始监控远程连接...
echo [提示] 按 Ctrl+C 停止监控
echo.
REM 启动监控程序(从 scripts 目录调用 src 和 config
python "%~dp0..\src\remote_volume_monitor.py" --config "%~dp0..\config\config.ini"
pause