mirror of
https://github.com/clearlinux/linux-steam-integration.git
synced 2026-09-06 22:01:27 +00:00
This is as yet untested, but the basic idea is that when games call out
to `system("pulseaudio --check > /dev/null 2>&1")` we'll put our script
in their way and unconditionally return 0. This is for games using libfmod,
which will die when trying to execute pulseaudio right now.
Signed-off-by: Ikey Doherty <ikey@solus-project.com>
13 lines
235 B
Bash
Executable File
13 lines
235 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# Work around games using libfmod which is determined to execute:
|
|
# pulseaudio --check > /dev/null 2>&1
|
|
|
|
if [[ ! -z "$1" ]]; then
|
|
if [[ "$1" == "--check" ]] ; then
|
|
exit 0
|
|
fi
|
|
fi
|
|
|
|
exec /usr/bin/pulseaudio $*
|