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
parent 8e061c44c5
commit fb51c2c649

View File

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