Skip to content

Commit 97140b4

Browse files
committed
remove apple quarantine
1 parent fff4a20 commit 97140b4

File tree

1 file changed

+7
-0
lines changed
  • roles/tests-integration/tests/common

1 file changed

+7
-0
lines changed

roles/tests-integration/tests/common/mod.rs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,13 @@ impl TemplateProvider {
137137
}
138138

139139
if os == "macos" {
140+
std::process::Command::new("xattr")
141+
.arg("-d")
142+
.arg("com.apple.quarantine")
143+
.arg(&bitcoind_binary)
144+
.output()
145+
.expect("Failed to remove quarantine attribute");
146+
140147
std::process::Command::new("codesign")
141148
.arg("--sign")
142149
.arg("-")

0 commit comments

Comments
 (0)