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)
|
# XCOpenCodeWeb (来自独立仓库 https://github.com/anomalyco/XCOpenCodeWeb)
|
||||||
remote/xcopencodeweb/XCOpenCodeWeb.exe
|
remote/xcopencodeweb/XCOpenCodeWeb.exe
|
||||||
service/xcopencodeweb/XCOpenCodeWeb.exe
|
service/xcopencodeweb/XCOpenCodeWeb.exe
|
||||||
bin/XCOpenCodeWeb.exe
|
services/xcopencodeweb/XCOpenCodeWeb.exe
|
||||||
|
|
||||||
# Tools output
|
# Tools output
|
||||||
tools/tongyi/ppt_output/
|
tools/tongyi/ppt_output/
|
||||||
|
|||||||
@@ -38,7 +38,7 @@ class XCOpenCodeWebService {
|
|||||||
basePath = process.cwd();
|
basePath = process.cwd();
|
||||||
}
|
}
|
||||||
|
|
||||||
return path.join(basePath, 'bin', exeName);
|
return path.join(basePath, 'services', 'xcopencodeweb', exeName);
|
||||||
}
|
}
|
||||||
|
|
||||||
private async checkHealth(): Promise<boolean> {
|
private async checkHealth(): Promise<boolean> {
|
||||||
|
|||||||
@@ -122,12 +122,12 @@
|
|||||||
"dist-api/**/*",
|
"dist-api/**/*",
|
||||||
"shared/**/*",
|
"shared/**/*",
|
||||||
"tools/**/*",
|
"tools/**/*",
|
||||||
"bin/**/*",
|
"services/**/*",
|
||||||
"package.json"
|
"package.json"
|
||||||
],
|
],
|
||||||
"asarUnpack": [
|
"asarUnpack": [
|
||||||
"tools/**/*",
|
"tools/**/*",
|
||||||
"bin/**/*"
|
"services/**/*"
|
||||||
],
|
],
|
||||||
"win": {
|
"win": {
|
||||||
"target": "nsis"
|
"target": "nsis"
|
||||||
|
|||||||
Reference in New Issue
Block a user