sync: collector/ 同步自 inkstone/arcrun-rag@1c31ac2(桌面小幫手 0.18.46)

This commit is contained in:
2026-08-28 05:07:35 +08:00
parent 80877af60c
commit e8800d18ef
12 changed files with 540 additions and 46 deletions
+1
View File
@@ -117,6 +117,7 @@ func cloudCardPresent(cfg *DirectConfig, library, relPath string) (present bool,
if err != nil {
return false, false, gate.record(err)
}
gate.ok()
defer resp.Body.Close()
body, rerr := io.ReadAll(io.LimitReader(resp.Body, 8192))
if resp.StatusCode < 200 || resp.StatusCode >= 300 {