Explorar o código

fix load updater

gaoshuaixing %!s(int64=4) %!d(string=hai) anos
pai
achega
f9e54048f2
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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();
   }