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.
This commit is contained in:
Akemi 2017-07-26 19:37:36 +02:00
parent bda32d99d7
commit 67506f21b8
1 changed files with 2 additions and 1 deletions

View File

@ -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"