From a036e7eb46886ff7fe88255ae26c327f63ec4bfa Mon Sep 17 00:00:00 2001 From: salmonik Date: Sun, 1 Nov 2026 16:26:21 +0100 Subject: v3.3.0: keep client.db in the XDG data dir, add -d/--data-dir --- docs/TESTING.md | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'docs/TESTING.md') diff --git a/docs/TESTING.md b/docs/TESTING.md index ac07a3f..1a1d369 100644 --- a/docs/TESTING.md +++ b/docs/TESTING.md @@ -52,12 +52,16 @@ on a machine where the `openssl` CLI is available. ## Development resets -The server creates `server.db` in its working directory; the client creates -`client.db` for host trust and stored credentials. While the software is in -testing, delete both after a schema or trust change: +The server creates `server.db` in its working directory. The client keeps +`client.db` (host trust, stored credentials) in the XDG data directory: +`$XDG_DATA_HOME/zagan-bet/client.db`, usually +`~/.local/share/zagan-bet/client.db`. Override it with `client -d `. + +While the software is in testing, delete both after a schema or trust change: ```sh -rm -f server.db client.db +rm -f server.db +rm -rf ~/.local/share/zagan-bet ``` The audit schema is not auto-migrated from the pre-2.0 slots-only `plays` -- cgit v1.2.3