ai/at
ai/at
1
0
This commit is contained in:
syui 2025-03-14 18:17:07 +09:00
parent a77cdc1e58
commit a45ba54323
Signed by: syui
GPG Key ID: 5417CFEBAD92DF56

View File

@ -108,7 +108,8 @@ function at-repos-social-app-write() {
sed -i "s#/img/avatar/plain/#https://cdn.bsky.app/img/avatar/plain/#g" $f
sed -i "s#/img/avatar_thumbnail/plain/#https://bsky.${host}/img/avatar/plain/#g" $f
sed -i "s#source={{uri: avatar}}#source={{ uri: hackModifyThumbnailPath(avatar, 1 > 0), }}#g" $f
sed -i "s#https://go.web.${host}/redirect?u=##g" $dt/lib/strings/url-helpers.ts
curl -sL https://raw.githubusercontent.com/bluesky-social/social-app/refs/heads/main/src/lib/strings/url-helpers.ts -o $dt/lib/strings/url-helpers.ts
sed -i "s#https://go.bsky.app/redirect?u=\${encodeURIComponent(url)}#\${url}#g" $dt/lib/strings/url-helpers.ts
grep -R $did_admin .|cut -d : -f 1|sort -u|xargs sed -i "s/${did_admin}/${did}/g"
}