summaryrefslogtreecommitdiffstats
path: root/TOOLS/osxbundle
diff options
context:
space:
mode:
Diffstat (limited to 'TOOLS/osxbundle')
-rw-r--r--TOOLS/osxbundle/mpv.app/Contents/Info.plist2
-rwxr-xr-xTOOLS/osxbundle/mpv.app/Contents/MacOS/mpv-wrapper.sh3
-rw-r--r--TOOLS/osxbundle/mpv.app/Contents/Resources/mpv.conf1
3 files changed, 4 insertions, 2 deletions
diff --git a/TOOLS/osxbundle/mpv.app/Contents/Info.plist b/TOOLS/osxbundle/mpv.app/Contents/Info.plist
index c134abb173..11e34c4548 100644
--- a/TOOLS/osxbundle/mpv.app/Contents/Info.plist
+++ b/TOOLS/osxbundle/mpv.app/Contents/Info.plist
@@ -173,7 +173,7 @@
</dict>
</array>
<key>CFBundleExecutable</key>
- <string>mpv</string>
+ <string>mpv-wrapper.sh</string>
<key>CFBundleIconFile</key>
<string>icon</string>
<key>CFBundleIdentifier</key>
diff --git a/TOOLS/osxbundle/mpv.app/Contents/MacOS/mpv-wrapper.sh b/TOOLS/osxbundle/mpv.app/Contents/MacOS/mpv-wrapper.sh
new file mode 100755
index 0000000000..1a16975319
--- /dev/null
+++ b/TOOLS/osxbundle/mpv.app/Contents/MacOS/mpv-wrapper.sh
@@ -0,0 +1,3 @@
+#!/bin/bash
+export MPVBUNDLE="true"
+$SHELL -l -c "$(dirname "$0")/mpv --player-operation-mode=pseudo-gui"
diff --git a/TOOLS/osxbundle/mpv.app/Contents/Resources/mpv.conf b/TOOLS/osxbundle/mpv.app/Contents/Resources/mpv.conf
deleted file mode 100644
index bdffa7a951..0000000000
--- a/TOOLS/osxbundle/mpv.app/Contents/Resources/mpv.conf
+++ /dev/null
@@ -1 +0,0 @@
-player-operation-mode=pseudo-gui