diff --git a/src/main/index.js b/src/main/index.js index 0d908dff2..5bb58725b 100644 --- a/src/main/index.js +++ b/src/main/index.js @@ -59,7 +59,7 @@ app.on('ready', async () => { if (!isDaemonRunning) { daemon = new Daemon(); daemon.on('exit', () => { - if (isDev) { + if (!isDev) { daemon = null; if (!appState.isQuitting) { dialog.showErrorBox( diff --git a/src/renderer/redux/actions/app.js b/src/renderer/redux/actions/app.js index 8ed62cd88..96d215e23 100644 --- a/src/renderer/redux/actions/app.js +++ b/src/renderer/redux/actions/app.js @@ -254,7 +254,7 @@ export function doCheckDaemonVersion() { return dispatch => { Lbry.version().then(({ lbrynet_version: lbrynetVersion }) => { // Avoid the incompatible daemon modal if running in dev mode - // Lets you run a different daemone than the one specificed in package.json + // Lets you run a different daemon than the one specified in package.json if (isDev || config.lbrynetDaemonVersion === lbrynetVersion) { return dispatch({ type: ACTIONS.DAEMON_VERSION_MATCH,