fix social-app ios icon
This commit is contained in:
@@ -174,6 +174,17 @@ function ios-copy-new-files() {
|
||||
echo "✅ Copied all assets (including logo.png, app-icons)"
|
||||
fi
|
||||
|
||||
# Generate app-icon.png (logo on #333 background) for app icon
|
||||
if [ -f "$d/ios/assets/logo.png" ]; then
|
||||
if command -v magick >/dev/null 2>&1; then
|
||||
magick -size 1024x1024 "xc:#333333" "$d/ios/assets/logo.png" -gravity center -composite "$target_dir/assets/app-icon.png"
|
||||
echo "✅ Generated app-icon.png (logo + #333 bg)"
|
||||
else
|
||||
echo "⚠️ ImageMagick not found, copying logo.png as app-icon.png fallback"
|
||||
cp "$d/ios/assets/logo.png" "$target_dir/assets/app-icon.png"
|
||||
fi
|
||||
fi
|
||||
|
||||
# Copy License.tsx
|
||||
if [ -f "$patching_dir/License.tsx" ]; then
|
||||
mkdir -p "$target_dir/src/view/screens"
|
||||
|
||||
Reference in New Issue
Block a user