mirror of
https://github.com/monlor/MIXBOX-ARCHIVE.git
synced 2026-03-10 23:41:27 +00:00
新增插件dms,一款DLNA媒体服务器
This commit is contained in:
@@ -4,7 +4,7 @@ export PATH=$PATH:/etc/mixbox/bin
|
||||
|
||||
mburl_coding="https://monlor.coding.net/p/mbfiles/d/mbfiles/git/raw/master"
|
||||
mburl_github="https://cdn.jsdelivr.net/gh/monlor/mbfiles"
|
||||
mburl_test="https://monlor.coding.net/p/mbfiles/d/mbfiles/git/raw/test"
|
||||
# mburl_test="https://monlor.coding.net/p/mbfiles/d/mbfiles/git/raw/test"
|
||||
mburl=$(mbdb get mixbox.main.url) || mburl="$mburl_coding"
|
||||
mbroot=$(mbdb get mixbox.main.path)
|
||||
mbdisk=$(mbdb get mixbox.main.mbdisk)
|
||||
|
||||
@@ -170,20 +170,20 @@ modify_source() {
|
||||
case "$mburl" in
|
||||
"$mburl_coding") url_text="coding下载源" ;;
|
||||
"$mburl_github") url_text="github下载源" ;;
|
||||
"$mburl_test") url_text="coding测试源" ;;
|
||||
# "$mburl_test") url_text="coding测试源" ;;
|
||||
*) url_text="$mburl" ;;
|
||||
esac
|
||||
echo "下载源【$url_text】使用中"
|
||||
echo "0. 不修改"
|
||||
echo "1. coding下载源"
|
||||
echo "2. github下载源"
|
||||
echo "3. coding测试源(不推荐)"
|
||||
# echo "3. coding测试源(不推荐)"
|
||||
read -p "请选择或输入下载源:" res
|
||||
case "$res" in
|
||||
0) return ;;
|
||||
1) mburl_tmp="$mburl_coding" ;;
|
||||
2) mburl_tmp="$mburl_github" ;;
|
||||
3) mburl_tmp="$mburl_test" ;;
|
||||
# 3) mburl_tmp="$mburl_test" ;;
|
||||
*) [ -n "$res" ] && mburl_tmp="$res" ;;
|
||||
esac
|
||||
if [ -n "$mburl_tmp" ]; then
|
||||
|
||||
Reference in New Issue
Block a user