mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2025-03-09 15:52:55 +01:00
Removes the need to manual code adjustments on platforms that aren't compatible with react-native-tor
11 lines
572 B
Bash
Executable file
11 lines
572 B
Bash
Executable file
echo "Applying patch for package.json"
|
|
sed -i '' '/react-native-tor/d' ./package.json
|
|
rm -fr node_modules
|
|
echo "Re-installing node_modules"
|
|
npm i
|
|
echo "Applying patch for react-native-xcode.sh"
|
|
sed -i '' 's/--platform "$BUNDLE_PLATFORM"/--platform "ios"/g' ./node_modules/react-native/scripts/react-native-xcode.sh
|
|
echo "Deleting torrific.js content"
|
|
echo > blue_modules/torrific.js
|
|
echo ""
|
|
echo "NOTE: react-native-tor is not currently compatible with Mac Catalyst. If you are running macOS Catalina, you will need to remove the iOS 14 Widgets from the project targets."
|