Browse Source

fix load updater

gaoshuaixing 4 years ago
parent
commit
f9e54048f2
1 changed files with 1 additions and 1 deletions
  1. 1 1
      main.js

+ 1 - 1
main.js

@@ -78,7 +78,7 @@ async function createWindow () {
   const updateConfig = electronConfig.get('autoUpdate')
   if ((is.windows() && updateConfig.windows) || (is.macOS() && updateConfig.macOS)
     || (is.linux() && updateConfig.linux)) {
-    const autoUpdater = require('./autoUpdater');
+    const autoUpdater = require('./electron/autoUpdater');
     autoUpdater.checkUpdate();
   }