ai/at
1
0

fix patch cmd

This commit is contained in:
2025-12-07 14:23:14 +09:00
parent 5b2255b3f6
commit 22793b5a8a
13 changed files with 224 additions and 2223 deletions

View File

@@ -13,6 +13,7 @@ typeset -a PATCH_FILES_IOS
PATCH_FILES_IOS=(
"001-social-app-ios-config.patch"
"002-social-app-ios-lib.patch"
"019-social-app-ios-entitlements-plugin.patch"
"003-social-app-ios-view.patch"
"004-social-app-ios-core.patch"
"005-social-app-ios-screens.patch"
@@ -22,7 +23,6 @@ PATCH_FILES_IOS=(
"009-social-app-ios-license.patch"
"010-social-app-ios-remove-contact-support.patch"
"011-social-app-ios-splash-license-footer.patch"
"012-social-app-ios-settings-about-help.patch"
"013-social-app-ios-settings-remove-help.patch"
)
@@ -46,7 +46,7 @@ function apply-patch() {
pushd ${target_dir} > /dev/null
# Check if patch is already applied (reverse dry-run succeeds)
if patch --dry-run -p1 -R < ${patch_file} > /dev/null 2>&1; then
if patch -f --dry-run -p1 -R < ${patch_file} > /dev/null 2>&1; then
echo "✅ Already applied - skipping"
popd > /dev/null
echo ""