feat(脚本): sing-box安装完成后删除无用内容

pull/798/head
mack-a 2023-10-12 23:30:10 +08:00
parent 875685fb2f
commit 07515b8a06
1 changed files with 3 additions and 3 deletions

View File

@ -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 "Githubhttps://github.com/mack-a/v2ray-agent" echoContent green "Githubhttps://github.com/mack-a/v2ray-agent"
echoContent green "描述:八合一共存脚本\c" echoContent green "描述:八合一共存脚本\c"
showInstallStatus showInstallStatus