From 3e6bd1d744609bc9c3b31e57b9e050035632ffb1 Mon Sep 17 00:00:00 2001 From: Ernest Surudo Date: Sun, 3 Jul 2022 12:30:20 +0200 Subject: [PATCH] Use `NODE_BINARY` from `.xcode.env` when running packager from Xcode --- scripts/launchPackager.command | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/launchPackager.command b/scripts/launchPackager.command index def21ee0101a91..35cbc2427c8a41 100755 --- a/scripts/launchPackager.command +++ b/scripts/launchPackager.command @@ -10,6 +10,9 @@ clear THIS_DIR=$(cd -P "$(dirname "$(readlink "${BASH_SOURCE[0]}" || echo "${BASH_SOURCE[0]}")")" && pwd) +WITH_ENVIRONMENT="$THIS_DIR/xcode/with-environment.sh" +source $WITH_ENVIRONMENT + # export packager environment variables source "$THIS_DIR/.packager.env"