diff --git a/install.zsh b/install.zsh index d74a1d1..3881367 100755 --- a/install.zsh +++ b/install.zsh @@ -98,9 +98,6 @@ function at-repos-social-app-write() { dt=$d/repos/social-app/src cd $dt - f=$dt/lib/strings/url-helpers.ts - sed -i 's#`https://go\.bsky\.app/redirect\?u=\${encodeURIComponent(url)}`#url#g' $f - t=(bsky.social bsky.app) for tt in "${t[@]}"; do escaped_tt=$(echo "$tt" | sed 's/\./\\./g') @@ -117,6 +114,12 @@ function at-repos-social-app-write() { grep -R "${tt}\.${pds}" . | cut -d : -f 1 | sort -u | xargs -r sed -i "s/${tt}\.${pds}/${tt}.bsky.app/g" done + f=$dt/lib/strings/url-helpers.ts + sed -i 's#`https://go\.syu\.is/redirect\?u=\${encodeURIComponent(url)}`#url#g' $f + + f=$dt/state/geolocation.tsx + sed -i 's#https://syu\.is/ipcc#https://bsky\.app/ipcc#g' $f + f=$dt/view/icons/Logotype.tsx o=$d/icons/Logotype.tsx cp -rf $o $f