fix: 修改 XCOpenCodeWeb.exe 路径为 services/xcopencodeweb/

- 路径从 bin/ 改为 services/xcopencodeweb/
- 更新 package.json 打包配置
- 更新 .gitignore
This commit is contained in:
2026-03-13 21:04:25 +08:00
parent 72d79ae214
commit fd77455f5b
3 changed files with 4 additions and 4 deletions

2
.gitignore vendored
View File

@@ -32,7 +32,7 @@ dist-electron/
# XCOpenCodeWeb (来自独立仓库 https://github.com/anomalyco/XCOpenCodeWeb)
remote/xcopencodeweb/XCOpenCodeWeb.exe
service/xcopencodeweb/XCOpenCodeWeb.exe
bin/XCOpenCodeWeb.exe
services/xcopencodeweb/XCOpenCodeWeb.exe
# Tools output
tools/tongyi/ppt_output/

View File

@@ -38,7 +38,7 @@ class XCOpenCodeWebService {
basePath = process.cwd();
}
return path.join(basePath, 'bin', exeName);
return path.join(basePath, 'services', 'xcopencodeweb', exeName);
}
private async checkHealth(): Promise<boolean> {

View File

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