fix(homebrew): codesign binary only on Intel macOS (#3348)
This commit is contained in:
@@ -115,6 +115,9 @@ class @PROJECT_NAME@ < Formula
|
|||||||
bin.install "tests/test_sunshine"
|
bin.install "tests/test_sunshine"
|
||||||
end
|
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?
|
bin.install "src_assets/linux/misc/postinst" if OS.linux?
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user