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"