add x86 and x86_64

This commit is contained in:
bluemeda 2018-03-18 11:31:04 +07:00
parent 9ac330b40a
commit a648bff233
1 changed files with 4 additions and 0 deletions

View File

@ -103,6 +103,10 @@ install_dnscrypt_proxy(){
BINARY_PATH=$INSTALLER/binary/dnscrypt-proxy-arm BINARY_PATH=$INSTALLER/binary/dnscrypt-proxy-arm
elif [ "$ARCH" == "arm64" ];then elif [ "$ARCH" == "arm64" ];then
BINARY_PATH=$INSTALLER/binary/dnscrypt-proxy-arm64 BINARY_PATH=$INSTALLER/binary/dnscrypt-proxy-arm64
elif [ "$ARCH" == "x86" ];then
BINARY_PATH=$INSTALLER/binary/dnscrypt-proxy-x86
elif [ "$ARCH" == "x64" ];then
BINARY_PATH=$INSTALLER/binary/dnscrypt-proxy-x86_64
fi fi
OLD_CONFIG_FILE=$MODDIR/system/etc/dnscrypt-proxy/dnscrypt-proxy.toml OLD_CONFIG_FILE=$MODDIR/system/etc/dnscrypt-proxy/dnscrypt-proxy.toml