diff options
Diffstat (limited to 'gog-rogue-legacy')
-rw-r--r-- | gog-rogue-legacy | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/gog-rogue-legacy b/gog-rogue-legacy new file mode 100644 index 000000000000..2c30316ec37b --- /dev/null +++ b/gog-rogue-legacy @@ -0,0 +1,12 @@ +#!/bin/sh + +run='/opt/gog-rogue-legacy/start.sh' +cd /opt/gog-rogue-legacy/ # The launcher fails unless in its dir. + +if which firejail >/dev/null 2>&1 && [ -z "$FIREJAIL_IGNORE" ]; then + echo "Firejail detected. Enforcing a sandbox." + echo "To bypass Firejail enforcement, run FIREJAIL_IGNORE=1 $run." + firejail --caps.drop=all "$run" +else + "$run" +fi |