Skip to content

Readstein 0.12.3

Choose a tag to compare

@CodeUpdaterBot CodeUpdaterBot released this 18 Nov 21:06
· 9 commits to main since this release

Backup Library now takes the books themselves, not just their covers.

A book held in place (a Home Library folder, or a file never copied into the app's storage) has no file under Books//, so the old backup exported its cover and reading config and left the book behind -- a restore produced cards that could not be opened. Measured on a real library: 23 book files against 274 books.

  • The zip now carries each such book's own file under its hash directory, which is where restore looks for it.
  • Restore points a record at the copy it just extracted when the record's own path does not resolve, so a restore onto another machine opens the books. A path that does resolve is left alone, so restoring on the same machine does not move a book out of its Home Library folder.
  • On by default, with a switch for a smaller metadata-only backup.
  • Also fixes native readFile returning the .buffer of the view plugin-fs hands back, which can be larger than the view and appended stray bytes to copied files.

NOTE: the Android APK attached here is from the 0.12.2-era build and does NOT contain these backup changes. Mobile backup is in progress and an updated APK will follow.