Samples: the built-in databases are brought up to the program's version
At every start a sample's file that is not the text built into the program (an older version, damaged or edited outside) is replaced atomically, under its name in any language; a sample taken off the shelf stays off. Android reads the samples from the app's assets: the number of games on a row is taken again when the sample's SHA-256 is not the one it was counted from. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
1524affd1a
commit
a328f429c5
7 changed files with 194 additions and 54 deletions
|
|
@ -120,7 +120,7 @@ pub struct Settings {
|
|||
pub databases: Vec<PathBuf>,
|
||||
/// The first-start engine discovery has run (see `engines::first_run_setup`).
|
||||
pub engines_discovered: bool,
|
||||
/// The sample databases were put on the shelf (see `examples::first_run_setup`).
|
||||
/// The sample databases were put on the shelf (see `examples::setup`).
|
||||
pub examples_added: bool,
|
||||
/// Ask GitHub for a newer release at start (Settings → About).
|
||||
pub check_updates: bool,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue