fix(patch): curl URL delimiter bug, add DM grapheme limit patch
This commit is contained in:
12
install.zsh
12
install.zsh
@@ -65,8 +65,8 @@ typeset -a FAILED_PATCHES
|
||||
# Patch file lists
|
||||
typeset -a PATCH_FILES_CURL
|
||||
PATCH_FILES_CURL=(
|
||||
"4367-atproto-services-bsky-api.diff:https://raw.githubusercontent.com/bluesky-social/atproto/refs/heads/main/services/bsky/api.js:services/bsky/api.js"
|
||||
"4367-atproto-services-pds-index.diff:https://raw.githubusercontent.com/bluesky-social/atproto/refs/heads/main/services/pds/index.js:services/pds/index.js"
|
||||
"4367-atproto-services-bsky-api.diff|https://raw.githubusercontent.com/bluesky-social/atproto/refs/heads/main/services/bsky/api.js|services/bsky/api.js"
|
||||
"4367-atproto-services-pds-index.diff|https://raw.githubusercontent.com/bluesky-social/atproto/refs/heads/main/services/pds/index.js|services/pds/index.js"
|
||||
)
|
||||
|
||||
typeset -a PATCH_FILES
|
||||
@@ -258,10 +258,10 @@ function patch-apply-with-curl() {
|
||||
function at-repos-patch-apply-all() {
|
||||
# Apply curl patches
|
||||
for patch_info in "${PATCH_FILES_CURL[@]}"; do
|
||||
local filename="${patch_info%%:*}"
|
||||
local rest="${patch_info#*:}"
|
||||
local download_url="${rest%%:*}"
|
||||
local download_target="${rest#*:}"
|
||||
local filename="${patch_info%%|*}"
|
||||
local rest="${patch_info#*|}"
|
||||
local download_url="${rest%%|*}"
|
||||
local download_target="${rest#*|}"
|
||||
|
||||
local title="${filename%.*}"
|
||||
local repo=""
|
||||
|
||||
Reference in New Issue
Block a user