ai/at
1
0
This commit is contained in:
2025-06-26 21:29:00 +09:00
parent b98bff0fca
commit 000b370bbd

View File

@@ -63,8 +63,8 @@ function at-repos-clone() {
for ((i=1; i<=${#repos}; i++)); do for ((i=1; i<=${#repos}; i++)); do
repo=${repos[$i]} repo=${repos[$i]}
echo $repo echo $repo
if [ -d $d/repos/social-app ];then if [ -d $d/repos/${repo##*/} ] && [ "${repo##*/}" = "social-app" ];then
rm -rf $d/repos/social-app rm -rf $d/repos/${repo##*/}
fi fi
if [ ! -d $d/repos/${repo##*/} ];then if [ ! -d $d/repos/${repo##*/} ];then
git clone $repo git clone $repo
@@ -130,6 +130,7 @@ function at-repos-social-app-write() {
grep -R public.api.${host} .|cut -d : -f 1|sort -u|xargs sed -i "s/public.api.${host}/bsky.${host}/g" grep -R public.api.${host} .|cut -d : -f 1|sort -u|xargs sed -i "s/public.api.${host}/bsky.${host}/g"
grep -R api.${host} .|cut -d : -f 1|sort -u|xargs sed -i "s/api.${host}/bsky.${host}/g" grep -R api.${host} .|cut -d : -f 1|sort -u|xargs sed -i "s/api.${host}/bsky.${host}/g"
grep -R events.${host} .|cut -d : -f 1|sort -u|xargs sed -i "s/events.${host}/events.bsky.app/g" grep -R events.${host} .|cut -d : -f 1|sort -u|xargs sed -i "s/events.${host}/events.bsky.app/g"
grep -R public.bsky.${host} .|cut -d : -f 1|sort -u|xargs sed -i "s/public.bsky.${host}/bsky.${host}/g"
f=$dt/view/icons/Logotype.tsx f=$dt/view/icons/Logotype.tsx
o=$d/icons/Logotype.tsx o=$d/icons/Logotype.tsx