1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-19 05:15:12 +00:00
mpv/TOOLS
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
..
lua TOOLS/autocrop.lua: disable hwdec when needed instead using -copy one 2023-10-18 15:21:34 +00:00
mpv-osd-symbols.sfdir osc: use custom symbols for window controls 2019-12-11 13:53:10 -08:00
osxbundle osxbundle: remove mpv-bundle symlink to allow code signing 2023-11-15 23:08:11 +01:00
docutils-wrapper.py TOOLS/docutils-wrapper: handle commands without depfile 2023-03-24 02:18:39 +00:00
dylib-unhell.py osxbundle: resolve relative linked dependency paths 2023-11-15 23:08:11 +01:00
file2string.py TOOLS/{file2string,matroska}: drop unneeded stdout output 2023-10-28 02:39:48 +00:00
gen-osd-font.sh
idet.sh TOOLS/idet: fix some outdated cli syntax 2023-07-06 22:40:51 -05:00
macos-sdk-version.py TOOLS/macos-sdk-version: remove legacy sdk version retrieval 2023-11-10 14:28:39 +01:00
macos-swift-lib-directory.py TOOLS: add macos-swift-lib-directory.py script 2021-11-14 19:13:10 +00:00
matroska.py TOOLS/{file2string,matroska}: drop unneeded stdout output 2023-10-28 02:39:48 +00:00
mpv_identify.sh player/command: remove video-aspect property 2023-08-31 17:37:42 +00:00
osxbundle.py osxbundle: remove mpv-bundle symlink to allow code signing 2023-11-15 23:08:11 +01:00
stats-conv.py *.py: cosmetic changes 2020-02-27 21:36:21 +01:00
umpv TOOLS/umpv: support shell-quotes in $MPV 2023-01-07 13:16:03 +01:00
uncrustify.cfg