Files
37duAutomation/desktop/controlplane/tools/firewall_center.bat
T
puddy 1e533dd1b3 refactor: 完成项目目录重构与代码迁移
本次提交完成了整体项目的目录梳理与代码迁移:
1.  将根级controlplane、webhost等目录的代码迁移至desktop/对应子目录,统一桌面端架构
2.  移动并整理了插件目录结构,将插件统一放入根级plugins/
3.  调整了前端项目的路径与配置,统一前后端开发构建流程
4.  清理了废弃的旧版app/目录与冗余的构建中间文件
5.  更新了.gitignore与README.md,适配新的项目结构
2026-09-14 17:46:09 +08:00

13 lines
561 B
Batchfile

@echo off
rem ============================================================
rem 37du center control-plane firewall script
rem opens TCP port 8800. Run as Administrator.
rem ============================================================
net session >nul 2>&1 || (echo [ERROR] Please run as Administrator. & pause & exit /b 1)
netsh advfirewall firewall delete rule name="37du-center-8800" >nul 2>&1
netsh advfirewall firewall add rule name="37du-center-8800" dir=in action=allow protocol=TCP localport=8800
echo [OK] Firewall rule created: TCP 8800 open.
pause