mirror of
https://github.com/monlor/MIXBOX-ARCHIVE.git
synced 2026-03-10 23:41:27 +00:00
2020-07-19 09:44:25
This commit is contained in:
@@ -61,15 +61,16 @@
|
|||||||
* **经测试`R3`不支持`EntWare`环境,原因未知,所以基于`EntWare`的程序都无法使用**
|
* **经测试`R3`不支持`EntWare`环境,原因未知,所以基于`EntWare`的程序都无法使用**
|
||||||
* **0.1.9.7以前的版本请手动更换下载源**,步骤:mixbox => 工具箱管理 => 更换下载源 => 输入以下地址
|
* **0.1.9.7以前的版本请手动更换下载源**,步骤:mixbox => 工具箱管理 => 更换下载源 => 输入以下地址
|
||||||
```
|
```
|
||||||
https://monlor.coding.net/p/mbfiles/d/mbfiles/git/lfs/master
|
https://cdn.jsdelivr.net/gh/monlor/mbfiles
|
||||||
```
|
```
|
||||||
|
* 默认源更换为jsdelivr源,coding源不再使用
|
||||||
|
|
||||||
### 命令
|
### 命令
|
||||||
|
|
||||||
#### 一键安装
|
#### 一键安装
|
||||||
|
|
||||||
``` shell
|
``` shell
|
||||||
sh -c "$(curl -kfsSl https://monlor.coding.net/p/mbfiles/d/mbfiles/git/lfs/master/install.sh)" && source /etc/profile &> /dev/null
|
sh -c "$(curl -kfsSl https://cdn.jsdelivr.net/gh/monlor/mbfiles/install.sh)" && source /etc/profile &> /dev/null
|
||||||
```
|
```
|
||||||
|
|
||||||
#### github源一键安装命令
|
#### github源一键安装命令
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ logsh "【Tools】" "请按任意键安装工具箱(Ctrl + C 退出)."
|
|||||||
read answer
|
read answer
|
||||||
#check root
|
#check root
|
||||||
# [ "$USER" != "root" ] && logsh "【Tools】" "请使用root用户安装工具箱!" && exit 1
|
# [ "$USER" != "root" ] && logsh "【Tools】" "请使用root用户安装工具箱!" && exit 1
|
||||||
mburl="https://monlor.coding.net/p/mbfiles/d/mbfiles/git/lfs/master"
|
mburl="https://cdn.jsdelivr.net/gh/monlor/mbfiles"
|
||||||
mbtmp="/tmp/mbtmp"
|
mbtmp="/tmp/mbtmp"
|
||||||
[ ! -d "${mbtmp}" ] && mkdir -p ${mbtmp}
|
[ ! -d "${mbtmp}" ] && mkdir -p ${mbtmp}
|
||||||
model=$(uname -ms | tr ' ' '_' | tr '[A-Z]' '[a-z]')
|
model=$(uname -ms | tr ' ' '_' | tr '[A-Z]' '[a-z]')
|
||||||
|
|||||||
Reference in New Issue
Block a user