Files
notesnook/apps/mobile/patches/react-native+0.74.5.patch
2024-08-10 11:31:37 +05:00

14 lines
649 B
Diff

diff --git a/node_modules/react-native/scripts/packager.sh b/node_modules/react-native/scripts/packager.sh
index 00d6ebc..6846832 100755
--- a/node_modules/react-native/scripts/packager.sh
+++ b/node_modules/react-native/scripts/packager.sh
@@ -8,7 +8,7 @@
THIS_DIR=$(cd -P "$(dirname "$(readlink "${BASH_SOURCE[0]}" || echo "${BASH_SOURCE[0]}")")" && pwd)
REACT_NATIVE_ROOT="$THIS_DIR/.."
# Application root directory - General use case: react-native is a dependency
-PROJECT_ROOT=${PROJECT_ROOT:-"$THIS_DIR/../../.."}
+PROJECT_ROOT=${PROJECT_ROOT:-"$THIS_DIR/../../../native"}
# check and assign NODE_BINARY env
# shellcheck disable=SC1090