mirror of
https://github.com/LizardByte/Sunshine.git
synced 2024-12-26 21:15:15 +00:00
fix(homebrew): codesign binary only on Intel macOS (#3348)
This commit is contained in:
parent
f418566b31
commit
9662f0547f
@ -115,6 +115,9 @@ class @PROJECT_NAME@ < Formula
|
||||
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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user