fix: 修复打包后 XCOpenCodeWeb.exe 路径问题
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user