From f9e54048f2f2a24919e72e1ae43ef58865864ffd Mon Sep 17 00:00:00 2001 From: gaoshuaixing Date: Wed, 3 Feb 2021 18:58:47 +0800 Subject: [PATCH] fix load updater --- main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.js b/main.js index c89ee02..6848857 100644 --- a/main.js +++ b/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(); }