From 585e037dbabc9c366cfcbaa3569ec116762c37fe Mon Sep 17 00:00:00 2001 From: Zhao Date: Thu, 22 Aug 2024 14:27:35 +0800 Subject: [PATCH] chore: set `MACOSX_DEPLOYMENT_TARGE` to 10.9 to make the binary compatible with old madOS --- scripts/build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/build.sh b/scripts/build.sh index 6cc0f163..e609e08d 100755 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -12,7 +12,7 @@ else fi # Build for the target -cargo build --release --locked --target "$1" +MACOSX_DEPLOYMENT_TARGE="10.9" cargo build --release --locked --target "$1" # Create the artifact mkdir -p "$ARTIFACT_NAME/completions"