browser(webkit): revert MiniBrowser to original, introduce Playwright fork (#539)
This commit is contained in:
parent
bad6e7c149
commit
586cf474e0
|
|
@ -1 +1 @@
|
|||
1101
|
||||
1102
|
||||
|
|
|
|||
|
|
@ -121,7 +121,7 @@ createZipForMac() {
|
|||
ditto {./WebKitBuild/Release,$tmpdir}/com.apple.WebKit.WebContent.xpc
|
||||
ditto {./WebKitBuild/Release,$tmpdir}/JavaScriptCore.framework
|
||||
ditto {./WebKitBuild/Release,$tmpdir}/libwebrtc.dylib
|
||||
ditto {./WebKitBuild/Release,$tmpdir}/MiniBrowser.app
|
||||
ditto {./WebKitBuild/Release,$tmpdir}/Playwright.app
|
||||
ditto {./WebKitBuild/Release,$tmpdir}/PluginProcessShim.dylib
|
||||
ditto {./WebKitBuild/Release,$tmpdir}/SecItemShim.dylib
|
||||
ditto {./WebKitBuild/Release,$tmpdir}/WebCore.framework
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
|
|
@ -2,18 +2,18 @@
|
|||
|
||||
function runOSX() {
|
||||
# if script is run as-is
|
||||
if [[ -d $SCRIPT_PATH/checkout/WebKitBuild/Release/MiniBrowser.app ]]; then
|
||||
if [[ -d $SCRIPT_PATH/checkout/WebKitBuild/Release/Playwright.app ]]; then
|
||||
DYLIB_PATH="$SCRIPT_PATH/checkout/WebKitBuild/Release"
|
||||
elif [[ -d $SCRIPT_PATH/MiniBrowser.app ]]; then
|
||||
elif [[ -d $SCRIPT_PATH/Playwright.app ]]; then
|
||||
DYLIB_PATH="$SCRIPT_PATH"
|
||||
elif [[ -d $SCRIPT_PATH/WebKitBuild/Release/MiniBrowser.app ]]; then
|
||||
elif [[ -d $SCRIPT_PATH/WebKitBuild/Release/Playwright.app ]]; then
|
||||
DYLIB_PATH="$SCRIPT_PATH/WebKitBuild/Release"
|
||||
else
|
||||
echo "Cannot find a MiniBrowser.app in neither location" 1>&2
|
||||
echo "Cannot find a Playwright.app in neither location" 1>&2
|
||||
exit 1
|
||||
fi
|
||||
MINIBROWSER="$DYLIB_PATH/MiniBrowser.app/Contents/MacOS/MiniBrowser"
|
||||
DYLD_FRAMEWORK_PATH=$DYLIB_PATH DYLD_LIBRARY_PATH=$DYLIB_PATH $MINIBROWSER "$@"
|
||||
PLAYWRIGHT="$DYLIB_PATH/Playwright.app/Contents/MacOS/Playwright"
|
||||
DYLD_FRAMEWORK_PATH=$DYLIB_PATH DYLD_LIBRARY_PATH=$DYLIB_PATH $PLAYWRIGHT "$@"
|
||||
}
|
||||
|
||||
function runLinux() {
|
||||
|
|
|
|||
Loading…
Reference in a new issue