Files
Libation/Scripts
Cursor Agentandrmcrackan 2aa6d8c078 Record why demo accounts are identified by id, not a flag
A marker property would be tidier, but AudibleUtilities.Account serializes a
fixed set of members and has no [JsonExtensionData], so Newtonsoft ignores an
extra property on the way in and never writes it back. Confirmed by adding
IsDemo, renaming the account in the app and letting it save: the property was
gone, and anything that dirties an account does the same, a token refresh during
a scan included. --clean would then strand demo accounts with no way to find
them. Adding a demo flag to the shipping Account class to serve a dev script is
not a trade worth making.

The id is the better anchor anyway: immutable, always persisted, and example.com
is reserved by RFC 2606 so no real Audible login can collide with it. Verified
that --clean still matches an account after the app renamed it.

Co-authored-by: rmcrackan <rmcrackan@gmail.com>
2026-08-18 19:32:24 +00:00
..
2026-06-08 14:23:00 -04:00
2025-11-13 22:59:26 -07:00
2025-11-13 22:59:26 -07:00

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.