social-app を更新
@@ -267,3 +267,43 @@ index 36d19299b..ba095436a 100644
|
|||||||
return agent.prepare(gates, moderation, onSessionChange)
|
return agent.prepare(gates, moderation, onSessionChange)
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
## favicon
|
||||||
|
|
||||||
|
`./src/bskyweb/static/`, `./assets/app-icons`にあります。
|
||||||
|
|
||||||
|
|
||||||
|
```sh
|
||||||
|
# Copy new files that aren't in patches
|
||||||
|
function ios-copy-new-files() {
|
||||||
|
echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
|
||||||
|
echo "📁 Copying new files..."
|
||||||
|
|
||||||
|
# Copy all assets from ios/assets/ to repos/social-app/assets/
|
||||||
|
if [ -d "$d/ios/assets" ]; then
|
||||||
|
cp -rf "$d/ios/assets/"* "$target_dir/assets/"
|
||||||
|
echo "✅ Copied all assets (including logo.png, app-icons)"
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Copy License.tsx
|
||||||
|
if [ -f "$patching_dir/License.tsx" ]; then
|
||||||
|
mkdir -p "$target_dir/src/view/screens"
|
||||||
|
cp "$patching_dir/License.tsx" "$target_dir/src/view/screens/License.tsx"
|
||||||
|
echo "✅ Copied License.tsx"
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Copy pre-generated favicons for bskyweb
|
||||||
|
local favicon_src="$d/ios/assets/favicons"
|
||||||
|
local bskyweb_static="$target_dir/bskyweb/static"
|
||||||
|
if [ -d "$favicon_src" ] && [ -d "$bskyweb_static" ]; then
|
||||||
|
cp -f "$favicon_src/favicon.png" "$bskyweb_static/favicon.png"
|
||||||
|
cp -f "$favicon_src/favicon-16x16.png" "$bskyweb_static/favicon-16x16.png"
|
||||||
|
cp -f "$favicon_src/favicon-32x32.png" "$bskyweb_static/favicon-32x32.png"
|
||||||
|
cp -f "$favicon_src/apple-touch-icon.png" "$bskyweb_static/apple-touch-icon.png"
|
||||||
|
echo "✅ Copied favicons to bskyweb/static"
|
||||||
|
fi
|
||||||
|
|
||||||
|
echo ""
|
||||||
|
}
|
||||||
|
```
|
||||||
Reference in New Issue
Block a user