Improve app/daemon development #1753
2 changed files with 2 additions and 2 deletions
|
@ -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(
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue