From e8e4f91bf058a4a4dd4f3217c23779ce3b4cb1ac Mon Sep 17 00:00:00 2001 From: tw93 Date: Sat, 28 Feb 2026 09:49:16 +0800 Subject: [PATCH] fix: use xattr -c without -r flag for compatibility, close #509 --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.sh b/install.sh index a75fe09..4854e9b 100755 --- a/install.sh +++ b/install.sh @@ -506,7 +506,7 @@ download_binary() { if curl -fsSL --connect-timeout 10 --max-time 60 -o "$target_path" "$url"; then if [[ -t 1 ]]; then stop_line_spinner; fi chmod +x "$target_path" - xattr -cr "$target_path" 2> /dev/null || true + xattr -c "$target_path" 2> /dev/null || true log_success "Downloaded ${binary_name} binary" else if [[ -t 1 ]]; then stop_line_spinner; fi