mirror of
https://github.com/LBRYFoundation/lbry-desktop.git
synced 2025-09-15 06:49:47 +00:00
Merge pull request #2091 from lbryio/daemon-start
Fix: correctly search for daemon process on startup
This commit is contained in:
commit
4bbc3135c9
1 changed files with 1 additions and 1 deletions
|
@ -64,7 +64,7 @@ if (isDev) {
|
||||||
}
|
}
|
||||||
|
|
||||||
app.on('ready', async () => {
|
app.on('ready', async () => {
|
||||||
const processList = await findProcess('name', 'lbrynet');
|
const processList = await findProcess('name', 'lbrynet start');
|
||||||
const isDaemonRunning = processList.length > 0;
|
const isDaemonRunning = processList.length > 0;
|
||||||
|
|
||||||
if (!isDaemonRunning) {
|
if (!isDaemonRunning) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue