chore: set MACOSX_DEPLOYMENT_TARGE to 10.11 to make the binary compatible with old macOS (#1532)

Co-authored-by: sxyazi <sxyazi@gmail.com>
This commit is contained in:
Zhao 2024-08-22 23:41:02 +08:00 committed by GitHub
parent 92112de1c0
commit 4fa37cb3cd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -3,6 +3,7 @@ set -euo pipefail
export ARTIFACT_NAME="yazi-$1"
export YAZI_GEN_COMPLETIONS=1
export MACOSX_DEPLOYMENT_TARGET="10.11"
# Setup Rust toolchain
if [[ "$1" == *-musl ]]; then