rename target from 'tun2proxy' to 'tun2proxy-bin'

make rust compiler happy
This commit is contained in:
ssrlive 2024-09-26 10:54:54 +08:00
parent 77d651dc70
commit 6c8ae7a33f
10 changed files with 24 additions and 24 deletions

View file

@ -30,7 +30,7 @@ function core_function() {
else
trap 'echo "" && echo "tun2proxy exited with code: $?" && restore' EXIT
local SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
local APP_BIN_PATH="${SCRIPT_DIR}/../target/release/tun2proxy"
local APP_BIN_PATH="${SCRIPT_DIR}/../target/release/tun2proxy-bin"
"${APP_BIN_PATH}" --tun tun0 --proxy "${PROXY_TYPE}://${PROXY_IP}:${PROXY_PORT}" -v trace
fi
}