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
@@ -538,8 +538,7 @@ public sealed class LibraryViewModel : SectionViewModel
|
||||
{
|
||||
var folder = Shell.Services.Dialogs.PickFolder(Loc.L("Library.Adopt.Title"));
|
||||
if (folder is null) return;
|
||||
await Shell.Services.ArchiveSetup.AdoptAsync(folder);
|
||||
await RefreshAsync();
|
||||
if (await ArchiveActions.TryAsync(Shell, s => s.AdoptAsync(folder))) await RefreshAsync();
|
||||
}
|
||||
|
||||
/// <summary>Writes the selected rows as CSV (UTF-8, invariant numbers) into a chosen folder.</summary>
|
||||
|
||||
Reference in new issue
Block a user