search for 'lbrynet start' to determine if the daemon is running on start up
This commit is contained in:
parent
f621440b3f
commit
4f36b13569
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…
Reference in a new issue