mpv/osdep
Daniel Brookman aa8af2e66b osxbundle: remove mpv-bundle symlink to allow code signing
Apps on Apple silicon have to be codesigned to run, but you can't
codesign bundles that have a symlink for the main executable.

The "mpv-bundle" symlink was used as the bundle's main executable
because it makes the execution name of the binary different.
Launch Services runs the CFBundleExecutable key from Info.plist when
launching a bundle, so by comparing the execution name to the name of
the symlink, you can check if that's how the binary was launched.

This replaces that detection method by moving the MPVBUNDLE
environmental variable into Info.plist. Launch Services will set
anything in LSEnvironment as environmental variables before launching
the bundle, so we're able to check for it instead of needing to
differentiate the execution name of the binary.

Fixes #12116
2023-11-15 23:08:11 +01:00
..
android
macos mac: change display name retrieval to localizedName NSScreen property 2023-11-10 14:30:32 +01:00
apple_utils.c osdep: move cfstr<->cstr conversions to a new apple_utils.c file 2023-06-25 11:01:58 +02:00
apple_utils.h osdep: move cfstr<->cstr conversions to a new apple_utils.c file 2023-06-25 11:01:58 +02:00
compiler.h audio: introduce ao_read_data_nonblocking() 2023-11-08 20:26:23 +01:00
endian.h
getpid.h
glob-win.c
io.c osdep/io: implement rename() wrapper 2023-11-10 11:26:10 +01:00
io.h osdep/io: implement rename() wrapper 2023-11-10 11:26:10 +01:00
language-apple.c osdep: add mp_get_user_langs 2023-06-25 11:01:58 +02:00
language-posix.c language-posix: as a fallback, treat "C" as "en" 2023-07-25 11:34:06 +02:00
language-win.c osdep: add mp_get_user_langs 2023-06-25 11:01:58 +02:00
macOS_swift_bridge.h vo_gpu/vo_gpu_next: add vulkan support for macOS 2023-10-14 18:39:56 +02:00
macosx_application.h vo_gpu/vo_gpu_next: add vulkan support for macOS 2023-10-14 18:39:56 +02:00
macosx_application.m osxbundle: remove mpv-bundle symlink to allow code signing 2023-11-15 23:08:11 +01:00
macosx_application_objc.h
macosx_events.h
macosx_events.m mac: remove runtime checks and compatibility for macOS older than 10.15 2023-11-09 18:12:25 +00:00
macosx_events_objc.h
macosx_menubar.h
macosx_menubar.m mac: remove runtime checks and compatibility for macOS older than 10.15 2023-11-09 18:12:25 +00:00
macosx_menubar_objc.h
macosx_touchbar.h
macosx_touchbar.m
main-fn-cocoa.c
main-fn-unix.c
main-fn-win.c win32: allow heap cache optimization and memory decommit 2023-09-01 16:58:56 +02:00
main-fn.h
meson.build meson: remove several macos-10-* build options 2023-11-09 18:12:25 +00:00
mpv.exe.manifest
mpv.rc build: remove outdated generated directory 2023-07-31 19:00:06 +00:00
path-darwin.c ALL: use new mp_thread abstraction 2023-11-05 17:36:17 +00:00
path-macosx.m
path-unix.c ALL: use new mp_thread abstraction 2023-11-05 17:36:17 +00:00
path-uwp.c
path-win.c ALL: use new mp_thread abstraction 2023-11-05 17:36:17 +00:00
path.h player: use XDG_CACHE_HOME by default 2023-05-09 20:37:17 +00:00
poll_wrapper.c vo: don't sleep 1ms always when requested time is in the past 2023-11-09 21:31:58 +00:00
poll_wrapper.h vo: use mp_poll wrapper in wait_events when applicable 2023-10-10 19:10:55 +00:00
semaphore.h ALL: use new mp_thread abstraction 2023-11-05 17:36:17 +00:00
semaphore_osx.c ALL: use new mp_thread abstraction 2023-11-05 17:36:17 +00:00
strnlen.h
subprocess-dummy.c
subprocess-posix.c ALL: use new mp_thread abstraction 2023-11-05 17:36:17 +00:00
subprocess-win.c
subprocess.c ALL: use new mp_thread abstraction 2023-11-05 17:36:17 +00:00
subprocess.h
terminal-dummy.c
terminal-unix.c ALL: use new mp_thread abstraction 2023-11-05 17:36:17 +00:00
terminal-win.c ALL: use new mp_thread abstraction 2023-11-05 17:36:17 +00:00
terminal.h
threads-posix.c threads: remove unused code 2023-11-05 17:36:17 +00:00
threads-posix.h osdep/threads-posix: use CLOCK_MONOTONIC if supported 2023-11-08 04:32:10 +00:00
threads-win32.h threads-win32: add comment about local decl of a function 2023-11-08 04:32:10 +00:00
threads.h threads: unbreak mpv on builds without asserts 2023-11-06 04:14:49 +00:00
timer-darwin.c timer: change mp_sleep_us to mp_sleep_ns 2023-10-10 19:10:55 +00:00
timer-linux.c osdep/timer-linux: check clock availability on init 2023-11-08 04:32:10 +00:00
timer-win32.c osdep/timer-win2: rename to timer-win32 2023-10-25 19:30:39 +00:00
timer.c timer: remove unused code 2023-11-05 17:36:17 +00:00
timer.h timer: remove unused code 2023-11-05 17:36:17 +00:00
w32_keyboard.c osdep/w32_keyboard: remove duplicated MP_KEY_BACK mapping 2023-11-11 03:34:00 +00:00
w32_keyboard.h
win32-console-wrapper.c
windows_utils.c various: sort some standard headers 2023-10-20 21:31:09 +02:00
windows_utils.h