fix(homebrew): workaround dynamic caveats audit error (#3994)

This commit is contained in:
ReenigneArcher 2025-06-21 16:30:42 -04:00 committed by GitHub
commit fb51c2c649
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -319,31 +319,31 @@ index 5b3638d..aca9481 100644
run [opt_bin/"sunshine", "~/.config/sunshine/sunshine.conf"]
end
def caveats
caveats_message = <<~EOS
Thanks for installing @PROJECT_NAME@!
To get started, review the documentation at:
https://docs.lizardbyte.dev/projects/sunshine
EOS
def post_install
if OS.linux?
caveats_message += <<~EOS
opoo <<~EOS
ATTENTION: To complete installation, you must run the following command:
`sudo #{bin}/postinst`
EOS
end
if OS.mac?
caveats_message += <<~EOS
opoo <<~EOS
Sunshine can only access microphones on macOS due to system limitations.
To stream system audio use "Soundflower" or "BlackHole".
Gamepads are not currently supported on macOS.
EOS
end
end
caveats_message
def caveats
<<~EOS
Thanks for installing @PROJECT_NAME@!
To get started, review the documentation at:
https://docs.lizardbyte.dev/projects/sunshine
EOS
end
test do