From cbd27555d916924b93d6911e2d4c3af015b47015 Mon Sep 17 00:00:00 2001 From: Martin Date: Mon, 6 Jan 2025 08:35:07 +0100 Subject: [PATCH] Fix up Flatpak shell script path (#1373) * Fix up flatpak exec path * linebreak --- extra/com.github.taiko2k.tauonmb.sh | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/extra/com.github.taiko2k.tauonmb.sh b/extra/com.github.taiko2k.tauonmb.sh index 2fa88b8ef..1883574c6 100755 --- a/extra/com.github.taiko2k.tauonmb.sh +++ b/extra/com.github.taiko2k.tauonmb.sh @@ -1,14 +1,15 @@ #!/bin/sh if [ "$1" == "--no-start" ]; then - if [ "$2" == "--play" ]; then curl http://localhost:7813/play/ + if [ "$2" == "--play" ]; then curl http://localhost:7813/play/ elif [ "$2" == "--play-pause" ]; then curl http://localhost:7813/playpause/ - elif [ "$2" == "--pause" ]; then curl http://localhost:7813/pause/ - elif [ "$2" == "--stop" ]; then curl http://localhost:7813/stop/ - elif [ "$2" == "--next" ]; then curl http://localhost:7813/next/ - elif [ "$2" == "--previous" ]; then curl http://localhost:7813/previous/ - else python3 /app/bin/tauon.py "$@"; + elif [ "$2" == "--pause" ]; then curl http://localhost:7813/pause/ + elif [ "$2" == "--stop" ]; then curl http://localhost:7813/stop/ + elif [ "$2" == "--next" ]; then curl http://localhost:7813/next/ + elif [ "$2" == "--previous" ]; then curl http://localhost:7813/previous/ + else + python3 /app/bin/src/tauon/__main__.py "$@"; fi else - python3 /app/bin/tauon.py "$@" + python3 /app/bin/src/tauon/__main__.py "$@" fi