Skip to content

Commit

Permalink
remove apple quarantine
Browse files Browse the repository at this point in the history
  • Loading branch information
Shourya742 committed Dec 12, 2024
1 parent 97e6016 commit 971ee7b
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions roles/tests-integration/tests/common/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,13 @@ impl TemplateProvider {
}

if os == "macos" {
std::process::Command::new("xattr")
.arg("-d")
.arg("com.apple.quarantine")
.arg(&bitcoind_binary)
.output()
.expect("Failed to remove quarantine attribute");

std::process::Command::new("codesign")
.arg("--sign")
.arg("-")
Expand Down

0 comments on commit 971ee7b

Please sign in to comment.