feat(app): connect the archive engine to the desktop client
The client builds the archive service on its index (WIC, then managed decoders), registers its scan, rebuild, verify, import, thumbnail, proxy and maintenance handlers, reopens the last archive at start and rescans it every 10 minutes. Welcome and Library create or adopt archives through it and queue a full scan; a failure shows a toast. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
This commit is contained in:
6 files changed
+115
-45
No files matched your search
@@ -207,11 +207,11 @@ public sealed class WelcomeViewModel : LocalizedViewModel
|
||||
_shell.Notify(problem);
|
||||
return;
|
||||
}
|
||||
await _shell.Services.ArchiveSetup.CreateAsync(LocalRoot);
|
||||
if (!await ArchiveActions.TryAsync(_shell, s => s.CreateAsync(LocalRoot))) return;
|
||||
break;
|
||||
case WelcomeChoice.AdoptFolder:
|
||||
if (_adoptFolder is null && !PickAdoptFolder()) return;
|
||||
await _shell.Services.ArchiveSetup.AdoptAsync(_adoptFolder!);
|
||||
if (!await ArchiveActions.TryAsync(_shell, s => s.AdoptAsync(_adoptFolder!))) return;
|
||||
break;
|
||||
case WelcomeChoice.Server:
|
||||
if (FoundServer is { } server) _shell.Server.Address = server.Address;
|
||||
|
||||
Reference in new issue
Block a user