Newer
Older
Import / applications / MakePDF / Build / fix_webengine_deploy.sh
@John John on 29 Dec 2020 457 bytes bulk import from macbookpro checkouts
#!/bin/bash
set -x -e

pushd ${1}/Contents/Frameworks/QtWebEngineCore.framework/Helpers/QtWebEngineProcess.app/Contents/MacOS

for LIB in QtGui QtCore QtWebEngineCore QtQuick QtWebChannel QtQml QtNetwork QtPositioning
do
    OLD_PATH=`otool -L QtWebEngineProcess | grep "${LIB} " | cut -f 1 -d ' '`
    NEW_PATH="@loader_path/../../../../../../../${LIB}.framework/${LIB}"
    install_name_tool -change ${OLD_PATH} ${NEW_PATH} QtWebEngineProcess
done

popd