Skip to content

Commit

Permalink
Fixed issue where the app wasn't starting because of a breaking chang…
Browse files Browse the repository at this point in the history
…e in the update library.
  • Loading branch information
dgreene-r7 committed Jul 19, 2024
1 parent 0398653 commit 5d20ab8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ if (require('electron-squirrel-startup')) {

// Bootstrap the updater
if (app.isPackaged) {
require('update-electron-app')();
const { updateElectronApp } = require('update-electron-app');
updateElectronApp();
}

const isPlainObject = (value) => Object.prototype.toString.call(value) === '[object Object]';
Expand Down

0 comments on commit 5d20ab8

Please sign in to comment.