v1.1.0 修复:启动脚本和日志等级配置

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

优化:
- 启动脚本初始化时设置窗口标题、大小和颜色
- 日志配置支持从配置文件动态读取等级
This commit is contained in:
2026-03-20 16:55:11 +08:00
parent 676f520106
commit f4569093d7
2 changed files with 41 additions and 26 deletions

View File

@@ -1,5 +1,9 @@
@echo off
title 远程连接音量自动调节器 -By:LeeQwQ
mode con cols=65 lines=18
color 0B
chcp 65001 >nul
cls
echo ========================================
echo 远程连接音量自动调节器
echo Remote Volume Monitor
@@ -14,20 +18,6 @@ if errorlevel 1 (
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 停止监控