mirror of
https://github.com/rmcrackan/Libation.git
synced 2026-09-12 13:47:16 -04:00
The script writes rows straight to SQLite, which leaves Libation's Lucene index untouched, so every filter on a seeded book came back empty and the empty-grid states could not be tested: nothing was findable, so every filter produced 'No books match' whether or not that was the right answer. Deleting the SearchEngine folder is enough. A missing index is a state Libation already handles - performSafeQuery catches the FileNotFoundException, re-indexes from the database and retries - and that rebuild filters IsDeleted, so trashed books stay out of the index exactly as in a normal session. Co-authored-by: rmcrackan <rmcrackan@gmail.com>
Scripts
Developer utilities. None of these ship in a Libation install - they exist only in a source checkout.
| Script | Purpose | Documented in |
|---|---|---|
seed-demo-accounts.cs |
Seed fake Audible accounts, to reach what is gated on having one without signing in | Testing Changes |
seed-demo-library.cs |
Seed a library covering every Liberate-column icon, for manual UI testing | Testing Changes |
seed-download-history.cs |
Seed completed downloads so the daily download limit can be tested without downloading | Testing Changes |
Bundle_Debian.sh |
Build the Linux .deb package |
Used by .github/workflows/build-linux.yml |
Bundle_Redhat.sh |
Build the Linux RPM package | Used by .github/workflows/build-linux.yml |
Bundle_MacOS.sh |
Build the macOS app bundle | Used by .github/workflows/build-mac.yml |
Windows/ |
Windows installer (Inno Setup) | Windows/README.md |
Usage for the testing scripts lives in the docs rather than here, so there is only one copy to keep current.