Replace the single GitHub repository field in release-channels.jsonc with primary_source (https://dl.wto-project.net) and ordered fallback_sources (GitHub), and update withReleaseSources to walk the deduplicated primary, player mirror, and fallback list while keeping preferred-source downloads and Ed25519 signature verification intact. Verified with root and launcher typecheck and launcher production build.
20 lines
890 B
JSON
20 lines
890 B
JSON
// Release update channels for the launcher and adaptation packs, including pack size limits.
|
|
{
|
|
// Default primary release source. Both channels share this endpoint:
|
|
// launcher tags use `v<version>` and pack tags use `patches-<version>`.
|
|
"primary_source": "https://dl.wto-project.net",
|
|
// Default ordered fallback sources tried when the primary source is unreachable.
|
|
"fallback_sources": [
|
|
"https://github.com/N0VAN0M4LY/WT-Offline"
|
|
],
|
|
// Entries per request (GitHub allows up to 100) and pages per shared check.
|
|
"release_page_size": 30,
|
|
"max_release_pages": 5,
|
|
// Largest pack (zip) the launcher downloads, and the most its files may add up to unpacked.
|
|
// The whole patch set is about 0.2 MB today.
|
|
"max_pack_bytes": 16777216,
|
|
"max_unpacked_bytes": 67108864,
|
|
// A request to a release source that takes longer is given up.
|
|
"request_timeout_ms": 20000
|
|
}
|