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:
73 files changed
+7914
-699
No files matched your search
@@ -0,0 +1,31 @@
|
||||
namespace Febe.Tests.Desktop.Support;
|
||||
|
||||
/// <summary>Files of the repository the desktop tests look at (the committed icon, the NSIS script).</summary>
|
||||
internal static class Repository
|
||||
{
|
||||
/// <summary>The folder with Febe.slnx, found from the test binaries upward; null outside a checkout.</summary>
|
||||
public static string? Root()
|
||||
{
|
||||
for (var folder = new DirectoryInfo(AppContext.BaseDirectory); folder is not null; folder = folder.Parent)
|
||||
{
|
||||
if (File.Exists(Path.Combine(folder.FullName, "Febe.slnx")))
|
||||
{
|
||||
return folder.FullName;
|
||||
}
|
||||
}
|
||||
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>A file of the repository; the test is inconclusive when the checkout is not there.</summary>
|
||||
public static string PathOf(params string[] parts)
|
||||
{
|
||||
var root = Root();
|
||||
if (root is null)
|
||||
{
|
||||
Assert.Inconclusive("Il repository non è accanto alle prove.");
|
||||
}
|
||||
|
||||
return Path.Combine([root, .. parts]);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user