From b49469b860df6a429b7cd7d7081187276cd50c55 Mon Sep 17 00:00:00 2001 From: David Cooper Date: Sun, 1 Jul 2018 22:56:44 -0700 Subject: [PATCH] CI: Fix CEF Path on Package Build This fixes the pkg build of obs-browser by properly copying CEF to `OBS.app/Content/Frameworks/Chromium Embedded Framework.framework`, rather than `OBS.app/Content/Frameworks`. --- CI/before-deploy-osx.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CI/before-deploy-osx.sh b/CI/before-deploy-osx.sh index c7290fe27..cb885d83c 100755 --- a/CI/before-deploy-osx.sh +++ b/CI/before-deploy-osx.sh @@ -34,7 +34,8 @@ sudo python ../CI/install/osx/build_app.py --public-key ../CI/install/osx/OBSPub # Copy Chromium embedded framework to app Frameworks directory hr "Copying Chromium Embedded Framework.framework" -sudo cp -r ../../cef_binary_${CEF_BUILD_VERSION}_macosx64/Release/Chromium\ Embedded\ Framework.framework OBS.app/Contents/Frameworks +sudo mkdir -p OBS.app/Contents/Frameworks +sudo cp -r ../../cef_binary_${CEF_BUILD_VERSION}_macosx64/Release/Chromium\ Embedded\ Framework.framework OBS.app/Contents/Frameworks/ sudo install_name_tool -change \ @rpath/Frameworks/Chromium\ Embedded\ Framework.framework/Chromium\ Embedded\ Framework \ ../../Frameworks/Chromium\ Embedded\ Framework.framework/Chromium\ Embedded\ Framework \