Update system_api.py

This commit is contained in:
midoks 2020-07-15 12:13:44 +08:00
parent 942c0023fb
commit db22749219
1 changed files with 2 additions and 2 deletions

View File

@ -674,8 +674,8 @@ class system_api:
mw.execShell('wget -O ' + toPath + '/mw.zip ' + newUrl)
mw.execShell('unzip -o ' + toPath + '/mw.zip' + ' -d ./')
mw.execShell('unzip -o mdserver-web.zip -d ./')
mw.execShell('rm -f mdserver-web.zip')
mw.execShell('unzip -o mw.zip -d ./')
mw.execShell('rm -f mw.zip')
return mw.returnJson(True, '安装更新成功!')
return mw.returnJson(False, '已经是最新,无需更新!')