fix typo
This commit is contained in:
parent
ca390a125f
commit
44d98ac422
2 changed files with 2 additions and 2 deletions
|
@ -59,7 +59,7 @@ app.on('ready', async () => {
|
||||||
if (!isDaemonRunning) {
|
if (!isDaemonRunning) {
|
||||||
daemon = new Daemon();
|
daemon = new Daemon();
|
||||||
daemon.on('exit', () => {
|
daemon.on('exit', () => {
|
||||||
if (isDev) {
|
if (!isDev) {
|
||||||
daemon = null;
|
daemon = null;
|
||||||
if (!appState.isQuitting) {
|
if (!appState.isQuitting) {
|
||||||
dialog.showErrorBox(
|
dialog.showErrorBox(
|
||||||
|
|
|
@ -254,7 +254,7 @@ export function doCheckDaemonVersion() {
|
||||||
return dispatch => {
|
return dispatch => {
|
||||||
Lbry.version().then(({ lbrynet_version: lbrynetVersion }) => {
|
Lbry.version().then(({ lbrynet_version: lbrynetVersion }) => {
|
||||||
// Avoid the incompatible daemon modal if running in dev mode
|
// 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) {
|
if (isDev || config.lbrynetDaemonVersion === lbrynetVersion) {
|
||||||
return dispatch({
|
return dispatch({
|
||||||
type: ACTIONS.DAEMON_VERSION_MATCH,
|
type: ACTIONS.DAEMON_VERSION_MATCH,
|
||||||
|
|
Loading…
Reference in a new issue