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
|
|
@ -360,7 +360,7 @@ impl App {
|
|||
let _ = settings.save();
|
||||
}
|
||||
let engines_found = crate::engines::first_run_setup(&mut settings);
|
||||
if crate::examples::first_run_setup(&mut settings) || engines_found {
|
||||
if crate::examples::setup(&mut settings) || engines_found {
|
||||
let _ = settings.save();
|
||||
}
|
||||
// PGN files passed on the command line (e.g. "Open with…") join the library, first one selected.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue