diff --git a/vpnsetup_alpine.sh b/vpnsetup_alpine.sh index c7a8d4d..edba7ec 100755 --- a/vpnsetup_alpine.sh +++ b/vpnsetup_alpine.sh @@ -240,7 +240,7 @@ get_helper_scripts() { } get_swan_ver() { - SWAN_VER=5.0 + SWAN_VER=5.1 base_url="https://github.com/hwdsl2/vpn-extras/releases/download/v1.0.0" swan_ver_url="$base_url/v1-$os_type-$os_ver-swanver" swan_ver_latest=$(wget -t 2 -T 10 -qO- "$swan_ver_url" | head -n 1) diff --git a/vpnsetup_amzn.sh b/vpnsetup_amzn.sh index 5403bc0..8423517 100755 --- a/vpnsetup_amzn.sh +++ b/vpnsetup_amzn.sh @@ -258,7 +258,7 @@ get_helper_scripts() { } get_swan_ver() { - SWAN_VER=5.0 + SWAN_VER=5.1 base_url="https://github.com/hwdsl2/vpn-extras/releases/download/v1.0.0" swan_ver_url="$base_url/v1-amzn-2-swanver" swan_ver_latest=$(wget -t 2 -T 10 -qO- "$swan_ver_url" | head -n 1) diff --git a/vpnsetup_centos.sh b/vpnsetup_centos.sh index 810dae7..a6837e3 100755 --- a/vpnsetup_centos.sh +++ b/vpnsetup_centos.sh @@ -361,7 +361,7 @@ get_helper_scripts() { } get_swan_ver() { - SWAN_VER=5.0 + SWAN_VER=5.1 base_url="https://github.com/hwdsl2/vpn-extras/releases/download/v1.0.0" swan_ver_url="$base_url/v1-$os_type-$os_ver-swanver" swan_ver_latest=$(wget -t 2 -T 10 -qO- "$swan_ver_url" | head -n 1) diff --git a/vpnsetup_ubuntu.sh b/vpnsetup_ubuntu.sh index 86899cf..68a1f5a 100755 --- a/vpnsetup_ubuntu.sh +++ b/vpnsetup_ubuntu.sh @@ -313,7 +313,7 @@ get_helper_scripts() { } get_swan_ver() { - SWAN_VER=5.0 + SWAN_VER=5.1 base_url="https://github.com/hwdsl2/vpn-extras/releases/download/v1.0.0" swan_ver_url="$base_url/v1-$os_type-$os_ver-swanver" swan_ver_latest=$(wget -t 2 -T 10 -qO- "$swan_ver_url" | head -n 1)