From 67506f21b81202f082dab026b92e4f3dcaddff0f Mon Sep 17 00:00:00 2001 From: Akemi Date: Wed, 26 Jul 2017 19:37:36 +0200 Subject: osx: fix bundle for paths that need escaping this fixes the mpv binary call in our bundle wrapper script, in the case that the path to the binary needs escaping. examples are white spaces or special chars. --- TOOLS/osxbundle/mpv.app/Contents/MacOS/mpv-wrapper.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'TOOLS/osxbundle') 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" -- cgit v1.2.3