改进端口状态检测逻辑

- 修复误报问题:默认为停止状态,需要确认后才显示运行中
- 简化检测逻辑,使用更可靠的Promise处理
- 添加简化版状态检测页面 status-checker.html
- 减少误判,提高检测准确性
This commit is contained in:
KQL
2025-09-24 15:14:38 +08:00
parent 50557b9230
commit 5988d75329
3 changed files with 264 additions and 85 deletions

View File

@@ -16,7 +16,9 @@
"Bash(git add:*)",
"Bash(git rm:*)",
"Bash(git push:*)",
"Bash(git commit:*)"
"Bash(git commit:*)",
"Bash(for port in 5150 5151 5152 5153 5154 5155 5156 5157 5158 5159 5160 5161)",
"Bash(do echo -n \"Port $port: \")"
],
"deny": [],
"ask": []