Skip to content

Commit

Permalink
fix(homebrew): codesign binary only on Intel macOS (#3348)
Browse files Browse the repository at this point in the history
  • Loading branch information
soerenkampschroer authored Nov 1, 2024
1 parent f418566 commit 9662f05
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packaging/sunshine.rb
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,9 @@ def install
bin.install "tests/test_sunshine"
end

# codesign the binary on intel macs
system "codesign", "-s", "-", "--force", "--deep", bin/"sunshine" if OS.mac? && Hardware::CPU.intel?

bin.install "src_assets/linux/misc/postinst" if OS.linux?
end

Expand Down

0 comments on commit 9662f05

Please sign in to comment.