M6 Windows: composizione condivisa Febe.App per Server e Desktop; Febe per Windows (WPF) con l'interfaccia in WebView2, area di notifica, istanza unica, «Browser di Febe» su WebView2 con CDP filtrato (WebView2CdpSession) e ripieghi di S2 (composizione, Edge), guscio nativo, avvisi, spostamento verificato della cartella dei dati, icona del marchio; un solo Febe.exe, installatore NSIS e zip portabile; guida docs/windows.md e prove dal vivo S1–S3

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

Claude-Session: https://claude.ai/code/session_01Mzbb6zeFTjT6Rp8b92AVkA
This commit is contained in:
Claude committed 2026-10-13 21:50:25 +00:00
1 parent dc4d1fc738
commit b443adfa8b
73 files changed
+7914 -699

No files matched your search

+16 -1
View File
@@ -90,6 +90,20 @@ public sealed class LibraryIngest(
private readonly SafeFileWriter _writer = writer ?? new SafeFileWriter(layout.MaxPathLength);
private volatile LibraryNaming _naming = naming;
private volatile bool _setFileTimeToPublication = setFileTimeToPublication;
private volatile LibraryLayout _layout = layout;
/// <summary>The library the next files go to.</summary>
public LibraryLayout Layout => _layout;
/// <summary>
/// The library folder changed (desktop, Impostazioni ▸ Generali): the next files go to the new folder. Accounts whose
/// folder already exists were fixed to it before the change, so nothing moves (spec §4.7, rule 12).
/// </summary>
public void UseLayout(LibraryLayout newLayout)
{
ArgumentNullException.ThrowIfNull(newLayout);
_layout = newLayout;
}
/// <summary>
/// Applies new naming schemes and the file-time choice from the settings page. They hold for the next files only:
@@ -133,6 +147,7 @@ public sealed class LibraryIngest(
throw new ArgumentException("Il file deve appartenere all'elemento e l'elemento all'account, già registrati nel database.", nameof(media));
}
var layout = _layout;
var folder = layout.AccountFolder(account);
var scheme = _naming.For(entry.Kind);
var zone = clock.LocalZone;
@@ -238,7 +253,7 @@ public sealed class LibraryIngest(
?? throw new KeyNotFoundException($"Account {stored.Entry.AccountId} non trovato.");
var highlights = await storage.Highlights.ListForEntryAsync(entryId, ct).ConfigureAwait(false);
await journal.AppendSavedAsync(
layout.AccountFolder(account),
_layout.AccountFolder(account),
account,
stored.Entry,
stored.Media,