2021-07-28 16:37:15 -04:00
|
|
|
echo "Removing existing release notes"
|
|
|
|
rm release-notes.txt release-notes.json
|
2020-11-15 21:31:30 -05:00
|
|
|
echo "Applying patch for package.json"
|
2021-07-09 00:03:46 -04:00
|
|
|
sed -i '' '/react-native-tor/d' ./package.json
|
2021-07-18 12:34:03 -04:00
|
|
|
rm -fr node_modules
|
2020-11-15 00:54:57 -05:00
|
|
|
echo "Re-installing node_modules"
|
2020-11-15 00:45:50 -05:00
|
|
|
npm i
|
2021-09-15 20:38:13 -04:00
|
|
|
echo "Applying patch for LDK Podfile"
|
|
|
|
sed -i '' 's/LDKFramework.xcframework/LDKFramework-maccatalyst.xcframework/g' ./node_modules/rn-ldk/rn-ldk.podspec
|
2021-07-18 12:34:03 -04:00
|
|
|
echo "Deleting torrific.js content"
|
|
|
|
echo > blue_modules/torrific.js
|
2021-09-15 20:38:13 -04:00
|
|
|
echo "Updating Podfile"
|
|
|
|
cd ios && pod update && cd ..
|
2020-11-15 21:31:30 -05:00
|
|
|
echo ""
|
2023-04-22 14:46:58 -05:00
|
|
|
echo "NOTE: react-native-tor and rn-dlk are not currently compatible with Mac Catalyst.
|