fix: 修复打包后 XCOpenCodeWeb.exe 路径问题

This commit is contained in:
2026-03-14 23:11:38 +08:00
parent 0d5cd329ca
commit 3c353cb701

View File

@@ -35,7 +35,7 @@ class XCOpenCodeWebService {
let basePath: string;
if (isPackaged) {
basePath = path.dirname(app.getPath('exe'));
basePath = path.join(process.resourcesPath, 'app.asar.unpacked');
} else {
basePath = process.cwd();
}