feat: 支持 XCOpenCodeWeb.exe 配置和打包

- 添加 electron/config.ts 配置文件
- 支持 command(命令行) 和 exe 两种模式
- 更新 package.json 打包配置,添加 bin 目录
- 更新 .gitignore 忽略 bin/*.exe
This commit is contained in:
2026-03-13 20:34:07 +08:00
parent 986ecb2561
commit fd2255c83a
4 changed files with 52 additions and 10 deletions

View File

@@ -122,10 +122,12 @@
"dist-api/**/*",
"shared/**/*",
"tools/**/*",
"bin/**/*",
"package.json"
],
"asarUnpack": [
"tools/**/*"
"tools/**/*",
"bin/**/*"
],
"win": {
"target": "nsis"