mirror of
https://gitee.com/dromara/electron-egg.git
synced 2026-06-13 03:11:10 +08:00
fix load updater
This commit is contained in:
2
main.js
2
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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user