From cf4008951d8ffb8dc45c6e7c6b55db68719ff05b Mon Sep 17 00:00:00 2001 From: Arun Kumar Date: Thu, 30 Mar 2023 21:27:22 +0530 Subject: [PATCH] Chore: Mac binary signing tweaks for embedded plugins (#7988) --- .github/scripts/run_ci.sh | 4 ++-- packages/app-desktop/build-mac/entitlements.mac.inherit.plist | 2 ++ packages/app-desktop/package.json | 2 ++ 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/scripts/run_ci.sh b/.github/scripts/run_ci.sh index e1e09fd1ff..a3fb47e778 100755 --- a/.github/scripts/run_ci.sh +++ b/.github/scripts/run_ci.sh @@ -180,8 +180,8 @@ cd "$ROOT_DIR/packages/app-desktop" if [[ $GIT_TAG_NAME = v* ]]; then echo "Step: Building and publishing desktop application..." - # cd "$ROOT_DIR/packages/tools" - # node bundleDefaultPlugins.js + cd "$ROOT_DIR/packages/tools" + node bundleDefaultPlugins.js cd "$ROOT_DIR/packages/app-desktop" USE_HARD_LINKS=false yarn run dist elif [[ $IS_LINUX = 1 ]] && [[ $GIT_TAG_NAME = $SERVER_TAG_PREFIX-* ]]; then diff --git a/packages/app-desktop/build-mac/entitlements.mac.inherit.plist b/packages/app-desktop/build-mac/entitlements.mac.inherit.plist index 46f43d4a07..d46335fd0d 100644 --- a/packages/app-desktop/build-mac/entitlements.mac.inherit.plist +++ b/packages/app-desktop/build-mac/entitlements.mac.inherit.plist @@ -8,5 +8,7 @@ com.apple.security.cs.allow-dyld-environment-variables + com.apple.security.cs.disable-library-validation + diff --git a/packages/app-desktop/package.json b/packages/app-desktop/package.json index 3c2418e1d1..1c44e2c3d7 100644 --- a/packages/app-desktop/package.json +++ b/packages/app-desktop/package.json @@ -79,7 +79,9 @@ "icon": "../../Assets/macOs.icns", "target": "dmg", "hardenedRuntime": true, + "gatekeeperAssess": false, "entitlements": "./build-mac/entitlements.mac.inherit.plist", + "entitlementsInherit": "./build-mac/entitlements.mac.inherit.plist", "extendInfo": { "CFBundleURLTypes": [ {