diff --git a/packaging/sunshine.rb b/packaging/sunshine.rb index f13a5a38..497b2670 100644 --- a/packaging/sunshine.rb +++ b/packaging/sunshine.rb @@ -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