From bd151e55a9cffe5969a381f68fb95c64f6baee62 Mon Sep 17 00:00:00 2001 From: zjx20 Date: Sun, 11 Sep 2022 02:17:15 +0800 Subject: [PATCH] update dsocks revision --- sh/bootstrap-dsocks.sh | 4 ++-- socksproxyenv.sample | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/sh/bootstrap-dsocks.sh b/sh/bootstrap-dsocks.sh index 0d8adfb..96b9ef8 100755 --- a/sh/bootstrap-dsocks.sh +++ b/sh/bootstrap-dsocks.sh @@ -1,7 +1,7 @@ #!/bin/bash CURRENT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" GIT_REPO="https://github.com/zjx20/dsocks.git" -REVISION="655f734c8ffc5657a691c839cc67bb46c032a2f0" +REVISION="527ce0df5b519e5dca70a4c44d10b148bda67a1c" cd "${CURRENT_DIR}/.." [ ! -d dsocks ] && git clone "${GIT_REPO}" @@ -10,7 +10,7 @@ if [ -d dsocks ]; then cd dsocks if [ ! -f libdsocks.so ] || [ "$(git rev-parse HEAD)" != "${REVISION}" ]; then git reset --hard HEAD && git fetch && git checkout "${REVISION}" - ./compile.sh + ./compile.sh -f fi fi diff --git a/socksproxyenv.sample b/socksproxyenv.sample index 61ddb8c..77b9982 100644 --- a/socksproxyenv.sample +++ b/socksproxyenv.sample @@ -69,8 +69,8 @@ LOAD_SUPPORT ssh # # socksify the curl command # SOCKSIFY curl # -# # specifying "/usr/bin/env python" as the entrypoint of the socksified cmd. -# SOCKSIFY python3 /usr/bin/env python3 +# # the second form accepts extra parameters as the entrypoint of the cmd. +# SOCKSIFY python3 /opt/homebrew/bin/python3 # # Assume that you had socksified the "python3" command, you can check your # external ip by running: