Merge branch 'v3.3.0' of https://github.com/tobychui/zoraxy into v3.3.0

This commit is contained in:
Toby Chui
2025-11-28 07:21:25 +08:00

View File

@@ -9,11 +9,15 @@ for dir in */; do
# Detect platform and set executable name # Detect platform and set executable name
platform=$(uname) platform=$(uname)
if [ "$platform" = "Linux" ]; then # Detect Windows environments (MINGW*, MSYS*, CYGWIN*)
exe_name="${dir%/}" case "$platform" in
else MINGW*|MSYS*|CYGWIN*)
exe_name="${dir%/}.exe" exe_name="${dir%/}.exe"
fi ;;
*)
exe_name="${dir%/}"
;;
esac
# Remove the executable # Remove the executable
if [ -f "$exe_name" ]; then if [ -f "$exe_name" ]; then