chromium-browser-sound.sh 255 B

12345678
  1. #!/bin/sh
  2. if [ -z "$ALSADEV" ]; then
  3. zenity --error --text "To support audio, please read README.md and run container with --device /dev/snd -e ALSADEV=..."
  4. exit 1
  5. fi
  6. exec /usr/bin/google-chrome --no-sandbox --alsa-output-device="$ALSADEV" "$@"