fix aarch64 and armv7 bin choice

This commit is contained in:
vacabun 2023-03-28 00:21:24 +08:00
parent d684dbffcc
commit 32715d02c1

View File

@ -76,6 +76,10 @@ if [[ $CpuArch =~ "x86_64" ]]; then
ReturnStatus=$?
if_success $Text5 $Text6 $ReturnStatus
elif [[ $CpuArch =~ "aarch64" ]]; then
nohup $Server_Dir/bin/clash-linux-arm64 -d $Conf_Dir &> $Log_Dir/clash.log &
ReturnStatus=$?
if_success $Text5 $Text6 $ReturnStatus
elif [[ $CpuArch =~ "armv7" ]]; then
nohup $Server_Dir/bin/clash-linux-armv7 -d $Conf_Dir &> $Log_Dir/clash.log &
ReturnStatus=$?
if_success $Text5 $Text6 $ReturnStatus