From 1e1d54623ee9bdef30bc4fc08c308a5e0f4531cf Mon Sep 17 00:00:00 2001 From: midoks Date: Wed, 15 Jul 2020 12:15:15 +0800 Subject: [PATCH] Update system_api.py --- class/core/system_api.py | 1 + 1 file changed, 1 insertion(+) diff --git a/class/core/system_api.py b/class/core/system_api.py index 63eb917bf..01a4773dc 100755 --- a/class/core/system_api.py +++ b/class/core/system_api.py @@ -676,6 +676,7 @@ class system_api: mw.execShell('unzip -o ' + toPath + '/mw.zip' + ' -d ./') mw.execShell('unzip -o mw.zip -d ./') mw.execShell('rm -f mw.zip') + mw.execShell('service mw restart') return mw.returnJson(True, '安装更新成功!') return mw.returnJson(False, '已经是最新,无需更新!')