about summary refs log tree commit diff stats
path: root/src/launch.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/launch.sh')
-rwxr-xr-x[-rw-r--r--]src/launch.sh5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/launch.sh b/src/launch.sh
index 7449fcb..1312ef3 100644..100755
--- a/src/launch.sh
+++ b/src/launch.sh
@@ -1,5 +1,4 @@
 #!/bin/sh
 # This file is only for flatpak.
-
-cd /app/Pong
-./pong $@
\ No newline at end of file
+DIRECTORY="$(dirname $0)"
+cd $DIRECTORY/../Pong && ./pong $@
\ No newline at end of file