- Wails v2 + Go 1.21+ + Vue 3 dark UI - 3 buttons: Check env (auto-install dsh) / Start dsh web / Stop - 升级 / 检查版本 一键按钮 - 启动后窗口自动最小化到 Dock - 顶部 logo 鼠标 hover 显示大图预览 - scripts/: build-mac.sh, build-windows.bat, install-app.sh - ui-design/: 视觉设计稿 (HTML + tokens)
66 lines
2.2 KiB
Plaintext
66 lines
2.2 KiB
Plaintext
# ─── Go ───────────────────────────────────────────────
|
|
# 编译产物(.app/.exe 整个目录)
|
|
build/bin/
|
|
# go build 出来的裸 binary(--selftest 等调试命令)
|
|
/dsh-launcher
|
|
# macOS 开发期构建的 Info.plist(带 dev id),不入仓;release 用 Info.plist 入仓
|
|
build/darwin/Info.dev.plist
|
|
# Windows 打包临时
|
|
build/windows/installer/
|
|
build/windows/wails.exe.manifest
|
|
# Go 覆盖率/测试产物
|
|
*.test
|
|
*.out
|
|
coverage.*
|
|
|
|
# ─── Node / Vite / Wails 前端 ────────────────────────
|
|
node_modules/
|
|
frontend/dist/
|
|
# frontend/wailsjs/ 是 wails build 自动生成的 JS 绑定,建议入仓(clone 后开箱即用)
|
|
# 顶部 banner 图片是 build 临时文件,不入仓
|
|
frontend/src/assets/images/banner.png
|
|
|
|
# ─── Wails 框架生成的本地开发配置 ─────────────────────
|
|
# wails.json 是项目配置,应该 commit
|
|
# 但 build/ 下生成的 Info.plist / icon.icns 已经包含在 build/bin/,无需额外忽略
|
|
|
|
# ─── macOS ───────────────────────────────────────────
|
|
.DS_Store
|
|
.AppleDouble
|
|
.LSOverride
|
|
Icon?
|
|
._*
|
|
.DocumentRevisions-V100
|
|
.fseventsd
|
|
.Spotlight-V100
|
|
.TemporaryItems
|
|
.Trashes
|
|
.VolumeIcon.icns
|
|
.com.apple.timemachine.donotpresent
|
|
|
|
# ─── Windows ─────────────────────────────────────────
|
|
Thumbs.db
|
|
ehthumbs.db
|
|
Desktop.ini
|
|
$RECYCLE.BIN/
|
|
|
|
# ─── IDE ─────────────────────────────────────────────
|
|
.idea/
|
|
.vscode/
|
|
*.swp
|
|
*.swo
|
|
*~
|
|
|
|
# ─── 日志 / 临时文件 ──────────────────────────────────
|
|
*.log
|
|
.DS_Store
|
|
.tmp/
|
|
*.tmp
|
|
.env
|
|
.env.local
|
|
.env.*.local
|
|
|
|
# ─── 应用运行产生的缓存 ──────────────────────────────
|
|
# Wails macOS app 运行时会在 ~/Library/{Caches,Logs} 下产数据,不入仓
|
|
# (路径在 $HOME 下,不会进项目)
|