ai/at
1
0
This commit is contained in:
2025-06-28 05:14:21 +09:00
parent d0ec598dce
commit 36a6328129

View File

@@ -98,9 +98,6 @@ function at-repos-social-app-write() {
dt=$d/repos/social-app/src dt=$d/repos/social-app/src
cd $dt 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) t=(bsky.social bsky.app)
for tt in "${t[@]}"; do for tt in "${t[@]}"; do
escaped_tt=$(echo "$tt" | sed 's/\./\\./g') 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" grep -R "${tt}\.${pds}" . | cut -d : -f 1 | sort -u | xargs -r sed -i "s/${tt}\.${pds}/${tt}.bsky.app/g"
done 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 f=$dt/view/icons/Logotype.tsx
o=$d/icons/Logotype.tsx o=$d/icons/Logotype.tsx
cp -rf $o $f cp -rf $o $f