From fd77455f5b2876554415d91b6297173fa65cfd6e Mon Sep 17 00:00:00 2001 From: ssdfasd <2156608475@qq.com> Date: Fri, 13 Mar 2026 21:04:25 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E6=94=B9=20XCOpenCodeWeb.exe?= =?UTF-8?q?=20=E8=B7=AF=E5=BE=84=E4=B8=BA=20services/xcopencodeweb/?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 路径从 bin/ 改为 services/xcopencodeweb/ - 更新 package.json 打包配置 - 更新 .gitignore --- .gitignore | 2 +- electron/services/xcOpenCodeWebService.ts | 2 +- package.json | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index 82d517b..bdc24db 100644 --- a/.gitignore +++ b/.gitignore @@ -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/ diff --git a/electron/services/xcOpenCodeWebService.ts b/electron/services/xcOpenCodeWebService.ts index 26f0a12..21fc6c8 100644 --- a/electron/services/xcOpenCodeWebService.ts +++ b/electron/services/xcOpenCodeWebService.ts @@ -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 { diff --git a/package.json b/package.json index 04d07db..5aa2574 100644 --- a/package.json +++ b/package.json @@ -122,12 +122,12 @@ "dist-api/**/*", "shared/**/*", "tools/**/*", - "bin/**/*", + "services/**/*", "package.json" ], "asarUnpack": [ "tools/**/*", - "bin/**/*" + "services/**/*" ], "win": { "target": "nsis"