add bgs patch
This commit is contained in:
@@ -45,6 +45,7 @@ PATCH_FILES=(
|
||||
"disable-statsig-sdk.diff"
|
||||
"140-social-app-yarn-network-timeout.patch"
|
||||
"130-atproto-ozone-enable-daemon-v2.patch"
|
||||
"190-bgs-disable-ratelimit.patch"
|
||||
)
|
||||
|
||||
function at-repos-clone() {
|
||||
@@ -112,8 +113,14 @@ function at-repos-social-app-avatar-write() {
|
||||
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.web.syu.is/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"
|
||||
# at-repos-social-app-statsig-patch
|
||||
}
|
||||
|
||||
function at-repos-social-app-statsig-patch() {
|
||||
patch-apply "Disable Statsig SDK" "social-app" "disable-statsig-sdk.diff"
|
||||
}
|
||||
|
||||
|
||||
# Common patch function with status detection
|
||||
function apply-patch() {
|
||||
local patch_name=$1
|
||||
@@ -240,6 +247,8 @@ function at-repos-patch-apply-all() {
|
||||
repo="atproto"
|
||||
elif [[ $filename == *"pds"* ]]; then
|
||||
repo="atproto"
|
||||
elif [[ $filename == *"indigo"* || $filename == *"bgs"* ]]; then
|
||||
repo="indigo"
|
||||
fi
|
||||
|
||||
patch-apply "$title" "$repo" "$filename"
|
||||
|
||||
Reference in New Issue
Block a user