Files
remote-volume-monitor/scripts/启动监控.bat
Agent e1333ccb78 v1.1.2 修复:启动脚本使用 ANSI (GBK) 编码
修复问题:
- Windows CMD 默认使用 ANSI 编码(GBK)
- UTF-8 编码的 bat 文件在中文 Windows 上会显示乱码

修改内容:
- 启动监控.bat 转换为 GBK 编码
- 使用 chcp 936 设置代码页为简体中文
2026-03-20 18:04:32 +08:00

30 lines
655 B
Batchfile
Raw Permalink 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 936 >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