Stores: GOG downloads use every CDN host; progress bars glide

GOG's secure link lists several CDN hosts and only the first was taken,
so every request went to one host. All are parsed now and kept as one
set, refreshed together when the link expires; the built-in pool takes
them in turn and the native engine gets the first until its contract
takes a list. The progress bar fill glides to each new value over a
quarter second, drawn without relayout.
This commit is contained in:
The412Banner committed 2026-10-09 06:02:37 -04:00
1 parent 90a8a526d5
commit 889e783520
4 files changed
+93 -19

No files matched your search

+5
View File
@@ -144,6 +144,11 @@ without it and Setup says "Stores engine not built").
(`token`, `__token__`, `f_token`, `hdnts`, access/refresh/id tokens, `code=`) and Authorization /
Cookie headers are blanked outside URLs too. `StoreLogTest` covers a GOG secure link and an Epic
Akamai URL. The engine's own logcat lines (tag `EpicNative` etc.) are written on the native side.
- **GOG downloads use every CDN host:** the secure link lists several hosts; only the first was
taken (`used=1/1 servers`). All are parsed now and kept as one set, refreshed together on
expiry; the Java pool takes them in turn, and the native engine gets the first until its contract
takes a list. The progress bars glide to each new value over 250 ms. The engine's periodic byte
progress (asked of the Rust side) is wired when JNI.md has it.
- **GOG and Epic cloud saves** (ported from Bannerlator's managers, device-proven there in August):
down before every launch where the cloud copy is newer (the compat tool waits up to 15 s), up
after the game exits (the compat tool waits for Proton for such a game, then asks without