diff --git a/install.zsh b/install.zsh index a12320e..732ce3d 100755 --- a/install.zsh +++ b/install.zsh @@ -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" }