mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
Make video and audio tag work, fixes #31.
See more about this on:
fdf20531bd
This commit is contained in:
9
atom.gyp
9
atom.gyp
@@ -334,6 +334,15 @@
|
||||
'<@(fix_framework_link_command)',
|
||||
],
|
||||
},
|
||||
{
|
||||
'postbuild_name': 'Add symlinks for framework subdirectories',
|
||||
'action': [
|
||||
'tools/mac/create-framework-subdir-symlinks.sh',
|
||||
'<(product_name)',
|
||||
'Libraries',
|
||||
'Frameworks',
|
||||
],
|
||||
},
|
||||
],
|
||||
}, # target framework
|
||||
{
|
||||
|
||||
11
tools/mac/create-framework-subdir-symlinks.sh
Executable file
11
tools/mac/create-framework-subdir-symlinks.sh
Executable file
@@ -0,0 +1,11 @@
|
||||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
cd "${BUILT_PRODUCTS_DIR}/${1}.framework"
|
||||
shift
|
||||
|
||||
while [ ! -z "${1}" ]; do
|
||||
ln -sf Versions/Current/"${1}" "${1}"
|
||||
shift
|
||||
done
|
||||
Reference in New Issue
Block a user