8 lines
255 B
Bash
Executable file
8 lines
255 B
Bash
Executable file
#!/bin/sh
|
|
|
|
if [ -z "$ALSADEV" ]; then
|
|
zenity --error --text "To support audio, please read README.md and run container with --device /dev/snd -e ALSADEV=..."
|
|
exit 1
|
|
fi
|
|
|
|
exec /usr/bin/google-chrome --no-sandbox --alsa-output-device="$ALSADEV" "$@"
|