mirror of
https://gitee.com/dromara/electron-egg.git
synced 2026-05-14 03:52:07 +08:00
Merge branch 'master' into dev_v3
This commit is contained in:
@@ -21,7 +21,7 @@ class AutoUpdaterAddon {
|
||||
create () {
|
||||
Log.info('[addon:autoUpdater] load');
|
||||
|
||||
const app = this.app;
|
||||
// const app = this.app;
|
||||
const cfg = Conf.getValue('addons.autoUpdater');
|
||||
if ((is.windows() && cfg.windows)
|
||||
|| (is.macOS() && cfg.macOS)
|
||||
@@ -106,7 +106,7 @@ class AutoUpdaterAddon {
|
||||
info.desc = '下载完成';
|
||||
this.sendStatusToWindow(info);
|
||||
// quit and update
|
||||
app.appQuit();
|
||||
// app.appQuit();
|
||||
autoUpdater.quitAndInstall();
|
||||
});
|
||||
}
|
||||
|
||||
@@ -44,8 +44,7 @@
|
||||
"!frontend/",
|
||||
"!run/",
|
||||
"!logs/",
|
||||
"!data/",
|
||||
"!electron/"
|
||||
"!data/"
|
||||
],
|
||||
"extraResources": {
|
||||
"from": "./build/extraResources/",
|
||||
|
||||
Reference in New Issue
Block a user