From 54c57535cd4f76ca1e4f888fd04d1fa70d729e50 Mon Sep 17 00:00:00 2001 From: xiaojunnuo Date: Sat, 3 Apr 2021 18:37:17 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20=E5=A2=9E=E9=87=8F=E6=9B=B4?= =?UTF-8?q?=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/gui/src/bridge/update/backend.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/gui/src/bridge/update/backend.js b/packages/gui/src/bridge/update/backend.js index fbd52655..9a97ccbb 100644 --- a/packages/gui/src/bridge/update/backend.js +++ b/packages/gui/src/bridge/update/backend.js @@ -94,7 +94,7 @@ function updateHandle (app, win, beforeQuit, quit, log) { zip.extractAllTo(target, true) log.info('安装完成,重启app') app.relaunch() - quit() + app.exit(0) } autoUpdater.on('error', function (error) {