bug fixed
This commit is contained in:
parent
b4727e5691
commit
ed00ae2a80
|
@ -616,7 +616,7 @@ ipcMain.on(ProcessChannel.Execute, (event: IpcMainEvent, ...args: any[]) => {
|
|||
const executableName: string = args[0];
|
||||
const binPath = __DEV__
|
||||
? path.join(__dirname, '../../', 'config/build/win/bin/')
|
||||
: path.join(__dirname, '..', '..', '/bin/');
|
||||
: path.join(__dirname, '..', '..', '..', '/bin/');
|
||||
|
||||
const executablePath = __WIN32__
|
||||
? path.join(binPath, `${executableName}.exe`)
|
||||
|
|
Loading…
Reference in New Issue
Block a user