fix: 更新 Terminal 模块 exe 名称为 XCTerminal.exe

This commit is contained in:
2026-03-20 13:33:28 +08:00
parent 7db1f9162b
commit 1d33a8e14f

View File

@@ -30,7 +30,7 @@ class TerminalService {
} }
private getExePath(): string { private getExePath(): string {
const exeName = 'XCCMD.exe'; const exeName = 'XCTerminal.exe';
const isPackaged = app.isPackaged; const isPackaged = app.isPackaged;
let basePath: string; let basePath: string;
@@ -40,7 +40,7 @@ class TerminalService {
basePath = process.cwd(); basePath = process.cwd();
} }
return path.join(basePath, 'services', 'xccmd', exeName); return path.join(basePath, 'services', 'xcterminal', exeName);
} }
private getExeArgs(): string[] { private getExeArgs(): string[] {