Skip to content

Commit b35ef93

Browse files
committed
feat: 添加 bun run package 命令用于构建 Windows 可执行文件
恢复 stash 中的 package 脚本,用于编译 Windows 版本: - 目标平台: bun-windows-x64 - 输出文件: build/ccb.exe - 图标文件: icon/ide.ico
1 parent 6a823d0 commit b35ef93

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,8 @@
5151
"health": "bun run scripts/health-check.ts",
5252
"postinstall": "node scripts/postinstall.cjs",
5353
"docs:dev": "npx mintlify dev",
54-
"rcs": "bun run scripts/rcs.ts"
54+
"rcs": "bun run scripts/rcs.ts",
55+
"package": "bun build --compile --target=bun-windows-x64 --outfile=build/ccb.exe --windows-icon=icon/ide.ico src/entrypoints/cli.tsx"
5556
},
5657
"dependencies": {},
5758
"devDependencies": {

0 commit comments

Comments
 (0)