mpv/osdep
Akemi a5b97104cf osx: improve bundle handling
we have two problems here. first when mpv is started from the bundle it
uses its own environment variables and possibly can't find for example
the youtube-dl binary for our youtube-dl hook. second we couldn't
reliable determine when mpv was started from the bundle, which led to
the pseudo-gui usage even when the binary was invoked from a shell.

to prevent this we will wrap the bundle binary with a shell script,
which will only be called when we start mpv from the bundle. this way
we can get the same environment variables, like $PATH, for our bundle
and additional we can set the pseudo-gui only when started through this
script. it is also possible to detect the bundle usage properly and
accurately through the usage of another environment var.

Fixes #2061
2017-02-16 22:21:03 +01:00
..
android
ar
win32
atomic.h atomic: remove __atomic builtin usage 2017-02-13 06:45:40 +01:00
compiler.h build: fix compilation with mingw-w64/Clang 2016-11-17 23:34:20 +11:00
endian.h
glob-win.c
io.c
io.h
macosx_application.h
macosx_application.m osx: improve bundle handling 2017-02-16 22:21:03 +01:00
macosx_application_objc.h
macosx_compat.h cocoa: fullscreen refactoring 2016-12-15 20:55:16 +01:00
macosx_events.h
macosx_events.m cocoa: cosmetic fixes 2016-12-16 16:32:26 +01:00
macosx_events_objc.h
macosx_versions.h cocoa: fix macOS 10.12 deprecation warnings 2016-09-22 13:46:27 +02:00
main-fn-cocoa.c
main-fn-unix.c
main-fn-win.c player: do not let pseudo-gui override user config settings 2016-09-23 21:24:50 +02:00
main-fn.h
mpv.exe.manifest
mpv.rc Update copyright year 2017-01-01 19:09:05 +01:00
path-macosx.m
path-unix.c
path-win.c win32: build with -DINITGUID 2016-09-28 21:38:52 +10:00
path.h
semaphore.h
semaphore_osx.c
strnlen.h
subprocess-posix.c
subprocess-win.c
subprocess.c
subprocess.h
terminal-unix.c player: make --terminal freetly settable at runtime 2016-09-19 19:54:54 +02:00
terminal-win.c terminal-win: support modifier keys in console input 2016-10-14 08:44:33 +11:00
terminal.h
threads.c
threads.h
timer-darwin.c
timer-linux.c
timer-win2.c
timer.c
timer.h
w32_keyboard.c
w32_keyboard.h
win32-console-wrapper.c win32: fix some Clang warnings 2016-11-17 23:34:20 +11:00
windows_utils.c vo_opengl: angle: rewrite with custom swap chain 2017-02-07 22:45:07 +11:00
windows_utils.h win32: add COM-specific SAFE_RELEASE to windows_utils.h 2017-01-30 00:22:30 +11:00