Skip to content

feat: Windows packaging support#10

Open
forztf wants to merge 2 commits into
alchaincyf:masterfrom
forztf:master
Open

feat: Windows packaging support#10
forztf wants to merge 2 commits into
alchaincyf:masterfrom
forztf:master

Conversation

@forztf

@forztf forztf commented Jun 11, 2026

Copy link
Copy Markdown

Summary

  • Add Windows NSIS installer build (npm run dist:win, x64)
  • electron/main.js cross-platform fixes: titleBarStyle / vibrancy / clip:file / pty:cwd / screenshotDir
  • Add build/icon.ico (multi-size Windows icon)
  • check:vendor-patch rewritten in node for Windows compatibility

Test

  • npm run dist:win produces dist/翻箱 FanBox Setup 1.6.0.exe (96.6 MB)
  • npm run rebuild (node-pty Spectre mitigation bypassed)

forztf and others added 2 commits June 11, 2026 19:17
- package.json: 新增 dist:win 脚本、win/nsis 配置(x64、可选目录、桌面快捷方式)
- electron/main.js: titleBarStyle/vibrancy/clip:file/pty:cwd/screenshotDir 适配 Windows
- build/icon.ico: 多尺寸 Windows 图标(16-256px)
- .gitignore: 跟踪 icon.ico
- check:vendor-patch 改为 node 实现,兼容 Windows
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant