ai/at
1
0

fix social-app ios patch rm create account

This commit is contained in:
2025-12-10 12:54:38 +09:00
parent d345b8f62d
commit 67f6691740
3 changed files with 54 additions and 116 deletions

View File

@@ -43,6 +43,7 @@ PATCH_FILES_IOS=(
"028-social-app-ios-remove-discover-feeds.patch"
"029-social-app-ios-remove-feeds-discover.patch"
"030-social-app-ios-appinfo.patch"
"031-social-app-ios-hide-create-account.patch"
)
function ios-env() {
@@ -64,14 +65,6 @@ function apply-patch() {
pushd ${target_dir} > /dev/null
# Check if patch is already applied (reverse dry-run succeeds)
if patch -f --dry-run -p1 -R < ${patch_file} > /dev/null 2>&1; then
echo "✅ Already applied - skipping"
popd > /dev/null
echo ""
return 0
fi
# Check if patch can be applied (forward dry-run succeeds)
if patch --dry-run -p1 < ${patch_file} > /dev/null 2>&1; then
echo "🔧 Applying patch..."