Android: CheckedDownload shared by the engine's network and Maia's weights
Some checks are pending
CI / check (push) Waiting to run
CI / windows-build (push) Waiting to run
CI / macos-build (push) Waiting to run

The system download with SHA-256 check moves out of EngineFiles into a class
for any such file; EngineFiles keeps its behaviour (same preferences key);
MaiaFiles fetches the small model of the pinned revision on request.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
vrubelroman 2026-10-26 01:07:21 +03:00
parent e33c4f3044
commit a7c832b8c9
13 changed files with 341 additions and 248 deletions

View file

@ -460,4 +460,5 @@
<item quantity="one">%1$d Durchgang</item>
<item quantity="other">%1$d Durchgänge</item>
</plurals>
<string name="maia_download_title">Maia für ChessPenguin</string>
</resources>

View file

@ -468,4 +468,5 @@
<item quantity="many">%1$d repasos</item>
<item quantity="other">%1$d repasos</item>
</plurals>
<string name="maia_download_title">Maia para ChessPenguin</string>
</resources>

View file

@ -468,4 +468,5 @@
<item quantity="many">%1$d passages</item>
<item quantity="other">%1$d passages</item>
</plurals>
<string name="maia_download_title">Maia pour ChessPenguin</string>
</resources>

View file

@ -468,4 +468,5 @@
<item quantity="many">%1$d ripassi</item>
<item quantity="other">%1$d ripassi</item>
</plurals>
<string name="maia_download_title">Maia per ChessPenguin</string>
</resources>

View file

@ -461,4 +461,5 @@
<item quantity="one">%1$d рет</item>
<item quantity="other">%1$d рет</item>
</plurals>
<string name="maia_download_title">ChessPenguin үшін Maia</string>
</resources>

View file

@ -469,4 +469,5 @@
<item quantity="many">%1$d passagens</item>
<item quantity="other">%1$d passagens</item>
</plurals>
<string name="maia_download_title">Maia para o ChessPenguin</string>
</resources>

View file

@ -476,4 +476,5 @@
<item quantity="many">прохождений: %1$d</item>
<item quantity="other">прохождений: %1$d</item>
</plurals>
<string name="maia_download_title">Maia для ChessPenguin</string>
</resources>

View file

@ -459,4 +459,5 @@
<item quantity="one">%1$d marta</item>
<item quantity="other">%1$d marta</item>
</plurals>
<string name="maia_download_title">ChessPenguin uchun Maia</string>
</resources>

View file

@ -464,4 +464,5 @@
<item quantity="one">%1$d run</item>
<item quantity="other">%1$d runs</item>
</plurals>
<string name="maia_download_title">Maia for ChessPenguin</string>
</resources>