fix: 修改 XCOpenCodeWeb.exe 路径为 services/xcopencodeweb/
- 路径从 bin/ 改为 services/xcopencodeweb/ - 更新 package.json 打包配置 - 更新 .gitignore
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@@ -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/
|
||||
|
||||
@@ -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> {
|
||||
|
||||
@@ -122,12 +122,12 @@
|
||||
"dist-api/**/*",
|
||||
"shared/**/*",
|
||||
"tools/**/*",
|
||||
"bin/**/*",
|
||||
"services/**/*",
|
||||
"package.json"
|
||||
],
|
||||
"asarUnpack": [
|
||||
"tools/**/*",
|
||||
"bin/**/*"
|
||||
"services/**/*"
|
||||
],
|
||||
"win": {
|
||||
"target": "nsis"
|
||||
|
||||
Reference in New Issue
Block a user