fix social-app feed view patch
This commit is contained in:
@@ -43,10 +43,9 @@ 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"
|
||||
"032-social-app-ios-feed-loggedout.patch"
|
||||
"033-social-app-ios-hide-profile-tabs.patch"
|
||||
"034-social-app-ios-home-header-no-feeds.patch"
|
||||
"036-social-app-ios-homeheader-loggedout.patch"
|
||||
)
|
||||
|
||||
function ios-env() {
|
||||
@@ -175,6 +174,13 @@ function ios-copy-new-files() {
|
||||
echo "✅ Copied License.tsx"
|
||||
fi
|
||||
|
||||
# Copy AppInfo.tsx
|
||||
if [ -f "$patching_dir/AppInfo.tsx" ]; then
|
||||
mkdir -p "$target_dir/src/view/screens"
|
||||
cp "$patching_dir/AppInfo.tsx" "$target_dir/src/view/screens/AppInfo.tsx"
|
||||
echo "✅ Copied AppInfo.tsx"
|
||||
fi
|
||||
|
||||
# Copy pre-generated favicons for bskyweb
|
||||
local favicon_src="$d/ios/assets/favicons"
|
||||
local bskyweb_static="$target_dir/bskyweb/static"
|
||||
@@ -220,7 +226,7 @@ function ios-generate-static-html() {
|
||||
|
||||
# Convert templates to static HTML
|
||||
# Replace {{ staticCDNHost }} with empty string (use relative paths)
|
||||
for template in about-privacy.html about-license.html about-tos.html about-help.html; do
|
||||
for template in about-privacy.html about-license.html about-tos.html about-help.html about-app.html; do
|
||||
if [ -f "$templates/$template" ]; then
|
||||
local output_name="${template#about-}" # Remove 'about-' prefix
|
||||
sed 's/{{ staticCDNHost }}//g' "$templates/$template" > "$html_out/$output_name"
|
||||
|
||||
Reference in New Issue
Block a user