Move the files into N1MM's own folder

The root is Documents/N1MM Logger+ now, so a station that runs both programs
has one set of files rather than two: one Databases folder, one SupportFiles,
one Wav with a folder per operator in it. What N1MM has no place for goes in a
Nonemm folder inside it, which is where settings.json sits.

A system that does not say where Documents is — most Linux systems — gets
~/Documents/N1MM Logger+.

Files an older version kept in Documents\Nonemm or ~/.config/nonemm are copied
in the first time this version runs, and the log and call history paths in the
settings are moved with them, so the copy that opens is the copy that came
over. The older folder is left as it was.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RoGtneMQaz4M9w7Kk49AVD
This commit is contained in:
2026-08-31 23:07:03 +00:00
parent 2c51b5293a
commit d49c87f86b
4 changed files with 161 additions and 18 deletions

View File

@@ -402,9 +402,9 @@ of a degree.
### Where the files live
The program keeps its files under `Documents\Nonemm` on Windows and
`~/.config/nonemm` elsewhere. The folders inside are N1MM's, with N1MM's names,
so a station that runs both keeps its files in the same shape:
The program keeps its files in N1MM's own folder, `Documents/N1MM Logger+`,
with N1MM's folders inside it under N1MM's names. A station that runs both
programs has one set of files rather than two:
| Folder | What goes in it |
|---|---|
@@ -416,10 +416,20 @@ so a station that runs both keeps its files in the same shape:
| `ExportFiles` | Cabrillo and ADIF, in and out |
| `Wav` | the voice keyer's recordings, one folder per operator: `Wav/OM3KFF/Cq.wav` |
| `GoalFiles`, `LettersFiles`, `QsoRecording`, `SkinsAndLayouts`, `SystemFiles`, `TransactionLogFiles`, `Diagnostics` | N1MM's, and made for the same reason: a station that keeps files in them does not lose them moving between the two programs. Nothing here writes to them yet |
| `Nonemm` | this program's own, for what N1MM has no place for: `settings.json` |
`settings.json` sits in the root. N1MM's three `*DDL` folders and its `Piper`
folders are not made: those hold the migrations for N1MM's own admin databases
and the program it speaks with, and neither has anything to do with a log.
N1MM's three `*DDL` folders and its `Piper` folders are not made: those hold
the migrations for N1MM's own admin databases and the program it speaks with,
and neither has anything to do with a log.
On a system that does not say where Documents is — most Linux systems, until
someone sets `XDG_DOCUMENTS_DIR` — it is `~/Documents/N1MM Logger+`.
A version before this one kept everything in `Documents\Nonemm` or
`~/.config/nonemm`. Those files are copied into N1MM's folders the first time
this version runs, and the log and call history paths in the settings are moved
with them, so the copy that opens is the copy that came over. The older folder
is left as it was.
### Operators