summaryrefslogtreecommitdiffstats
path: root/TOOLS/osxbundle
diff options
context:
space:
mode:
Diffstat (limited to 'TOOLS/osxbundle')
-rwxr-xr-xTOOLS/osxbundle/mpv.app/Contents/MacOS/mpv-wrapper.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/TOOLS/osxbundle/mpv.app/Contents/MacOS/mpv-wrapper.sh b/TOOLS/osxbundle/mpv.app/Contents/MacOS/mpv-wrapper.sh
index f2658072ef..53dfb4e5c4 100755
--- a/TOOLS/osxbundle/mpv.app/Contents/MacOS/mpv-wrapper.sh
+++ b/TOOLS/osxbundle/mpv.app/Contents/MacOS/mpv-wrapper.sh
@@ -1,3 +1,4 @@
#!/bin/bash -l
export MPVBUNDLE="true"
-$SHELL -c "$(dirname "$0")/mpv --player-operation-mode=pseudo-gui"
+cd "$(dirname "$0")"
+$SHELL -c "./mpv --player-operation-mode=pseudo-gui"