本次提交完成了整体项目的目录梳理与代码迁移: 1. 将根级controlplane、webhost等目录的代码迁移至desktop/对应子目录,统一桌面端架构 2. 移动并整理了插件目录结构,将插件统一放入根级plugins/ 3. 调整了前端项目的路径与配置,统一前后端开发构建流程 4. 清理了废弃的旧版app/目录与冗余的构建中间文件 5. 更新了.gitignore与README.md,适配新的项目结构
78 lines
1.2 KiB
Plaintext
78 lines
1.2 KiB
Plaintext
# ---------- Python ----------
|
|
__pycache__/
|
|
*.py[cod]
|
|
*$py.class
|
|
*.so
|
|
.Python
|
|
*.egg
|
|
*.egg-info/
|
|
dist/
|
|
build/
|
|
eggs/
|
|
sdist/
|
|
wheels/
|
|
*.manifest
|
|
*.spec
|
|
# 前端依赖与构建产物(desktop 桌面端)
|
|
desktop/*/frontend/node_modules
|
|
desktop/*/frontend/dist/
|
|
|
|
# 桌面版打包产物(PyInstaller 中间/输出、安装包、插件构建包,不入库)
|
|
desktop/**/build-exe/
|
|
desktop/**/dist-exe/
|
|
desktop/releases/
|
|
desktop/build/
|
|
dist-plugin/
|
|
pip-log.txt
|
|
pip-delete-this-directory.txt
|
|
|
|
# ---------- 虚拟环境 ----------
|
|
.venv/
|
|
venv/
|
|
env/
|
|
ENV/
|
|
|
|
# ---------- 环境变量 / 密钥 ----------
|
|
.env
|
|
.env.*
|
|
!.env.example
|
|
# 控制面签名密钥 / 运行期产物(禁止入库)
|
|
.admin_secret
|
|
.webhost.pid
|
|
*.pid
|
|
desktop/**/keys/
|
|
desktop/**/packages/
|
|
desktop/**/controlplane.db
|
|
desktop/**/_cp_sessions.json
|
|
# 各平台会话 cookies / 缓存目录(统一移入 %LOCALAPPDATA%\37duAutomation,禁止入库)
|
|
**/.sessions/
|
|
|
|
# ---------- IDE ----------
|
|
.idea/
|
|
.vscode/
|
|
*.swp
|
|
*.swo
|
|
|
|
# ---------- 操作系统 ----------
|
|
.DS_Store
|
|
Thumbs.db
|
|
desktop.ini
|
|
|
|
# ---------- 日志 ----------
|
|
*.log
|
|
logs/
|
|
|
|
# ---------- 测试 / 覆盖率 ----------
|
|
.pytest_cache/
|
|
.coverage
|
|
htmlcov/
|
|
.tox/
|
|
aa.md
|
|
|
|
# vc运行库
|
|
vc_redist/
|
|
vc_redist_x64/
|
|
vc_redist_x86/
|
|
|
|
静态资源/
|
|
.assets/ |