fix(patch): curl URL delimiter bug, add DM grapheme limit patch
This commit is contained in:
@@ -39,6 +39,18 @@ fi
|
||||
echo "1. Installing dependencies (yarn)..."
|
||||
yarn install
|
||||
|
||||
# 1.1. Patch @atproto/api lexicon: chat.bsky.convo maxGraphemes
|
||||
API_DIR="$REPO_DIR/node_modules/@atproto/api"
|
||||
PATCH_FILE="$SCRIPT_DIR/../patching/230-atproto-api-chat-grapheme-limit.patch"
|
||||
if [ -d "$API_DIR" ] && [ -f "$PATCH_FILE" ]; then
|
||||
if patch -f --dry-run -p1 -d "$API_DIR" < "$PATCH_FILE" > /dev/null 2>&1; then
|
||||
patch -f -p1 -d "$API_DIR" < "$PATCH_FILE" > /dev/null 2>&1
|
||||
echo "✅ Patched @atproto/api lexicons.js: chat.bsky.convo maxGraphemes 1000 → 10000"
|
||||
else
|
||||
echo "❌ @atproto/api lexicons.js: patch failed (upstream may have changed)"
|
||||
fi
|
||||
fi
|
||||
|
||||
# 1.5. Copy assets
|
||||
echo "1.5. Copying assets..."
|
||||
if [ -d "$ASSETS_DIR" ]; then
|
||||
@@ -74,7 +86,7 @@ function cleanup_build {
|
||||
echo "2. Running Expo Prebuild..."
|
||||
# Clean old ios folder to remove old entitlements/AppClip targets
|
||||
rm -rf ios
|
||||
npx expo prebuild --platform ios --clean
|
||||
yes | npx expo prebuild --platform ios --clean
|
||||
|
||||
# 3. CocoaPods
|
||||
echo "3. Installing CocoaPods..."
|
||||
|
||||
Reference in New Issue
Block a user