Piattaforme: istanza unica dopo lo spostamento dei dati, avvio sicuro del contenitore, rilascio con prove e immagine, accesso senza reindirizzamenti esterni (pkg-1, pkg-2, pkg-3, pkg-4, pkg-5, pkg-6, websec-2, web-8, websec-3)

Registro di casa 192.168.30.23:3000 (HTTP) nel modello Unraid, in compose e nel rilascio con buildx; profilo seccomp fuori da /dati.

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-14 00:59:18 +00:00
1 parent 78c92eb2a4
commit dd9320c54b
36 files changed
+1683 -152

No files matched your search

@@ -47,7 +47,12 @@ internal sealed class DesktopTestBed : IAsyncDisposable
public string Origin => $"{App.Address.Scheme}://{App.Address.Authority}";
public static async Task<DesktopTestBed> StartAsync(string[]? args = null, FakeDesktopShell? shell = null, TempFolder? temp = null, MemoryLocationStore? locations = null)
/// <param name="args">The command line of Febe.exe.</param>
/// <param name="shell">The fake Windows-only part.</param>
/// <param name="temp">The folder of «AppData» and «Immagini»; null: a new one, deleted with the bed.</param>
/// <param name="locations">The registry values of the Data folder.</param>
/// <param name="adjust">Options the command line cannot give (the debugging port of Edge).</param>
public static async Task<DesktopTestBed> StartAsync(string[]? args = null, FakeDesktopShell? shell = null, TempFolder? temp = null, MemoryLocationStore? locations = null, Func<DesktopOptions, DesktopOptions>? adjust = null)
{
var ownsTemp = temp is null;
temp ??= new TempFolder("desktop");
@@ -58,6 +63,8 @@ internal sealed class DesktopTestBed : IAsyncDisposable
throw new ArgumentException(problem);
}
options = adjust?.Invoke(options) ?? options;
var folders = new DesktopFolders(temp.Combine("AppData", "Local"), temp.Combine("Immagini"));
var platform = new DesktopPlatform(options, shell, locations, dataFolderFixed: options.DataFolder is not null);
var app = await FebeApp.StartAsync(options.AppOptions(options.DataFolder ?? folders.DefaultDataFolder, folders), platform, new FebeAppHooks { ShutdownTimeout = TimeSpan.FromSeconds(1) });