Skip to content

Commit

Permalink
Fixed auto-updater
Browse files Browse the repository at this point in the history
  • Loading branch information
Jessseee committed Jun 24, 2021
1 parent 6ad6d7b commit bf42abc
Show file tree
Hide file tree
Showing 3 changed files with 2,336 additions and 2 deletions.
4 changes: 3 additions & 1 deletion main.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
const { app, BrowserWindow, globalShortcut, remote } = require('electron')
require('update-electron-app')()
const { autoUpdater } = require('electron-updater')

autoUpdater.checkForUpdatesAndNotify()

// Keep a global reference of the window object, if you don't, the window will
// be closed automatically when the JavaScript object is garbage collected.
Expand Down
Loading

0 comments on commit bf42abc

Please sign in to comment.