diff --git a/package.json b/package.json index a5583bd32..abc498b33 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "LBRY", - "version": "0.25.1", + "version": "0.26.0-rc.4", "description": "A browser for the LBRY network, a digital marketplace controlled by its users.", "keywords": [ "lbry" @@ -134,7 +134,7 @@ "yarn": "^1.3" }, "lbrySettings": { - "lbrynetDaemonVersion": "0.30.0", + "lbrynetDaemonVersion": "0.30.1rc1", "lbrynetDaemonUrlTemplate": "https://github.com/lbryio/lbry/releases/download/vDAEMONVER/lbrynet-OSNAME.zip", "lbrynetDaemonDir": "static/daemon", "lbrynetDaemonFileName": "lbrynet" diff --git a/src/main/index.js b/src/main/index.js index 46d696308..0da679b09 100644 --- a/src/main/index.js +++ b/src/main/index.js @@ -64,7 +64,9 @@ if (isDev) { } app.on('ready', async () => { - const processList = await findProcess('name', 'lbrynet start'); + const processListArgs = process.platform === 'win32' ? 'lbrynet' : 'lbrynet start'; + const processList = await findProcess('name', processListArgs); + const isDaemonRunning = processList.length > 0; if (!isDaemonRunning) {