diff options
author | runiq | 2017-02-27 16:26:18 +0100 |
---|---|---|
committer | runiq | 2017-02-27 16:26:18 +0100 |
commit | 96666dc0e6d7a8dcb76c0f8f4af4f7b1cb8e5ddf (patch) | |
tree | c7b8933b75642b92c42782176871b068474f6af2 /gog-rogue-legacy | |
download | aur-gog-rogue-legacy.tar.gz |
Initial commit
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 |