mirror of https://github.com/mack-a/v2ray-agent
feat(脚本): sing-box安装完成后删除无用内容
parent
875685fb2f
commit
07515b8a06
|
@ -1984,7 +1984,7 @@ installSingBox() {
|
||||||
tar zxvf "/etc/v2ray-agent/sing-box/sing-box-${version/v/}${singBoxCoreCPUVendor}.tar.gz" -C "/etc/v2ray-agent/sing-box/" >/dev/null 2>&1
|
tar zxvf "/etc/v2ray-agent/sing-box/sing-box-${version/v/}${singBoxCoreCPUVendor}.tar.gz" -C "/etc/v2ray-agent/sing-box/" >/dev/null 2>&1
|
||||||
|
|
||||||
mv "/etc/v2ray-agent/sing-box/sing-box-${version/v/}${singBoxCoreCPUVendor}/sing-box" /etc/v2ray-agent/sing-box/sing-box
|
mv "/etc/v2ray-agent/sing-box/sing-box-${version/v/}${singBoxCoreCPUVendor}/sing-box" /etc/v2ray-agent/sing-box/sing-box
|
||||||
# rm -rf /etc/v2ray-agent/sing-box/sing-box-*
|
rm -rf /etc/v2ray-agent/sing-box/sing-box-*
|
||||||
chmod 655 /etc/v2ray-agent/sing-box/sing-box
|
chmod 655 /etc/v2ray-agent/sing-box/sing-box
|
||||||
|
|
||||||
else
|
else
|
||||||
|
@ -3221,7 +3221,7 @@ initSingBoxHysteria2Config() {
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
EOF
|
EOF
|
||||||
# initSingBoxSocks5OutboundsConfig
|
# initSingBoxSocks5OutboundsConfig
|
||||||
}
|
}
|
||||||
|
|
||||||
# sing-box Tuic安装
|
# sing-box Tuic安装
|
||||||
|
@ -8153,7 +8153,7 @@ menu() {
|
||||||
cd "$HOME" || exit
|
cd "$HOME" || exit
|
||||||
echoContent red "\n=============================================================="
|
echoContent red "\n=============================================================="
|
||||||
echoContent green "作者:mack-a"
|
echoContent green "作者:mack-a"
|
||||||
echoContent green "当前版本:v2.11.3"
|
echoContent green "当前版本:v2.11.4"
|
||||||
echoContent green "Github:https://github.com/mack-a/v2ray-agent"
|
echoContent green "Github:https://github.com/mack-a/v2ray-agent"
|
||||||
echoContent green "描述:八合一共存脚本\c"
|
echoContent green "描述:八合一共存脚本\c"
|
||||||
showInstallStatus
|
showInstallStatus
|
||||||
|
|
Loading…
Reference in New Issue