Merge pull request #704 from midoks/dev

修复插件安装版本判断
pull/710/head
Mr Chen 3 months ago committed by GitHub
commit 16681d0193
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      README.md
  2. 2
      web/utils/plugin.py

@ -185,7 +185,7 @@ curl --insecure -fsSL https://code.midoks.icu/midoks/mdserver-web/raw/branch/dev
curl --insecure -fsSL https://code.midoks.icu/midoks/mdserver-web/raw/branch/dev/scripts/update_dev.sh | bash
```
### 旧版安装
### 旧版安装/更新
```
curl --insecure -fsSL https://raw.githubusercontent.com/midoks/mdserver-web/dev/scripts/old/install.sh | bash
curl --insecure -fsSL https://raw.githubusercontent.com/midoks/mdserver-web/dev/scripts/old/update.sh | bash

@ -383,6 +383,8 @@ class plugin(object):
continue
task_sign = tmpt.split('-')
task_len = len(task_sign)
if task_len<2:
continue
task_name = task_sign[0].lower()
task_ver = task_sign[1]

Loading…
Cancel
Save