fix windows process name to correctly check if the daemon is already running
This commit is contained in:
parent
46b47c3f8f
commit
9931556049
1 changed files with 1 additions and 1 deletions
|
@ -64,7 +64,7 @@ if (isDev) {
|
|||
}
|
||||
|
||||
app.on('ready', async () => {
|
||||
const processListArgs = process.platform === 'win32' ? 'lbrynet' : 'lbrynet start';
|
||||
const processListArgs = process.platform === 'win32' ? 'lbrynet.exe' : 'lbrynet start';
|
||||
const processList = await findProcess('name', processListArgs);
|
||||
|
||||
const isDaemonRunning = processList.length > 0;
|
||||
|
|
Loading…
Reference in a new issue