Skip to content

Commit

Permalink
Fix up flatpak exec path
Browse files Browse the repository at this point in the history
  • Loading branch information
C0rn3j committed Jan 4, 2025
1 parent 9c3658a commit c30f4d9
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions extra/com.github.taiko2k.tauonmb.sh
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
#!/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

0 comments on commit c30f4d9

Please sign in to comment.