From 72c5efcc2f8b0c3334aa2e8cdd648385dbc0cfb8 Mon Sep 17 00:00:00 2001 From: midoks Date: Fri, 12 Aug 2022 15:29:59 +0800 Subject: [PATCH] Update system_api.py --- class/core/system_api.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/class/core/system_api.py b/class/core/system_api.py index dc9ea6a4e..a53465804 100755 --- a/class/core/system_api.py +++ b/class/core/system_api.py @@ -688,6 +688,8 @@ class system_api: mw.execShell('unzip -o ' + toPath + '/mw.zip' + ' -d ./') mw.execShell('unzip -o mw.zip -d ./') mw.execShell('rm -f mw.zip') + + self.restartMw() return mw.returnJson(True, '安装更新成功,需自己重启!') return mw.returnJson(False, '已经是最新,无需更新!')