refactor: 完成项目目录重构与代码迁移
本次提交完成了整体项目的目录梳理与代码迁移: 1. 将根级controlplane、webhost等目录的代码迁移至desktop/对应子目录,统一桌面端架构 2. 移动并整理了插件目录结构,将插件统一放入根级plugins/ 3. 调整了前端项目的路径与配置,统一前后端开发构建流程 4. 清理了废弃的旧版app/目录与冗余的构建中间文件 5. 更新了.gitignore与README.md,适配新的项目结构
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
@echo off
|
||||
rem ============================================================
|
||||
rem 37du center SMB firewall script
|
||||
rem opens SMB/NetBIOS ports so the deploy machine can reach
|
||||
rem the \\...\code share. 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-smb445" >nul 2>&1
|
||||
netsh advfirewall firewall add rule name="37du-center-smb445" dir=in action=allow protocol=TCP localport=445
|
||||
netsh advfirewall firewall add rule name="37du-center-smb445udp" dir=in action=allow protocol=UDP localport=445
|
||||
|
||||
netsh advfirewall firewall delete rule name="37du-center-nb139" >nul 2>&1
|
||||
netsh advfirewall firewall add rule name="37du-center-nb139" dir=in action=allow protocol=TCP localport=139
|
||||
netsh advfirewall firewall delete rule name="37du-center-nb137" >nul 2>&1
|
||||
netsh advfirewall firewall add rule name="37du-center-nb137" dir=in action=allow protocol=UDP localport=137
|
||||
netsh advfirewall firewall delete rule name="37du-center-nb138" >nul 2>&1
|
||||
netsh advfirewall firewall add rule name="37du-center-nb138" dir=in action=allow protocol=UDP localport=138
|
||||
netsh advfirewall firewall delete rule name="37du-center-nb135" >nul 2>&1
|
||||
netsh advfirewall firewall add rule name="37du-center-nb135" dir=in action=allow protocol=UDP localport=135
|
||||
|
||||
echo [OK] Firewall rules created: SMB/NetBIOS open.
|
||||
pause
|
||||
Reference in New Issue
Block a user