feat(installer): record data directory in install manifest

Write the resolved DbPath parent into the manifest so UninstallRunner
can honour customised data locations instead of always assuming
~/.todo-app. Older manifests fall back to the default path.
This commit is contained in:
mika kuns
2026-04-23 13:07:23 +02:00
parent 31218fc205
commit 2690332d13
3 changed files with 12 additions and 4 deletions

View File

@@ -8,7 +8,8 @@ public sealed record InstallManifest(
string Version,
string InstallDir,
string WorkerDir,
DateTimeOffset InstalledAt);
DateTimeOffset InstalledAt,
string? DataDir = null);
public static class InstallManifestStore
{