summarylogtreecommitdiffstats
path: root/dofus-beta.sh
diff options
context:
space:
mode:
authorYaohan Chen2018-03-08 23:57:22 -0500
committerYaohan Chen2018-03-08 23:58:41 -0500
commit3e98ccffdd3e31964b77acb74a22447ac58af8a2 (patch)
treeabd1446a2ef0ee411b5bdbf011bbe7ff526b6d6f /dofus-beta.sh
parenteaffaca8b29684652ed22505afd99a8af8ede7d5 (diff)
downloadaur-3e98ccffdd3e31964b77acb74a22447ac58af8a2.tar.gz
Update
Diffstat (limited to 'dofus-beta.sh')
-rw-r--r--dofus-beta.sh12
1 files changed, 9 insertions, 3 deletions
diff --git a/dofus-beta.sh b/dofus-beta.sh
index 4e37e2dd8858..52d26c0cac64 100644
--- a/dofus-beta.sh
+++ b/dofus-beta.sh
@@ -1,4 +1,10 @@
#!/bin/sh
-/usr/bin/transition \
- --configuration_file=/opt/ankama/dofus-beta/transition.conf \
- --application-id=ankama-dofus-beta-transition
+
+game=/opt/ankama/dofus-beta/DofusBeta
+# Use padsp or the game may not play sounds with PulseAudio
+if which padsp
+then
+ padsp "$game" "$@"
+else
+ "$game" "$@"
+fi