diff --git a/start.sh b/start.sh index 8e3097a..4217e82 100755 --- a/start.sh +++ b/start.sh @@ -135,10 +135,14 @@ if_success $Text3 $Text4 $ReturnStatus \cp -a $Temp_Dir/clash.yaml $Temp_Dir/clash_config.yaml -## 判断订阅内容是否符合clash配置文件标准,尝试转换 -echo -e '\n判断订阅内容是否符合clash配置文件标准:' -bash $Server_Dir/scripts/clash_profile_conversion.sh -sleep 3 +## 判断订阅内容是否符合clash配置文件标准,尝试转换(当前只支持对 x86_64 架构的服务器做处理) +if [[ $CpuArch =~ "x86_64" || $CpuArch =~ "amd64" ]]; then + echo -e '\n判断订阅内容是否符合clash配置文件标准:' + bash $Server_Dir/scripts/clash_profile_conversion.sh + sleep 3 +else + echo -e '\n当前不支持对 x86_64 以外的CPU架构服务器进行clash配置文件检测和转换!!!' +fi ## Clash 配置文件重新格式化及配置