feat(setup): --capture renders every setup stage, uninstall plan and Arabic layout

The installer had no screenshot mode, so CI could not review its stages. Titano.Setup.exe --capture <dir>
builds a small sample installer in a temporary folder and renders install options, programs running,
installing, installed, failed and uninstall with the "Remove my data" plan, in the dark and light themes and
in Arabic (mirrored). Nothing is installed, removed or registered.

Also: uploader smoke tests (names, focusable rows, no premature errors, right-to-left islands), and watch
chips cap the path itself because the button template measures content without a width limit.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
This commit is contained in:
Claude committed 2026-10-03 17:20:42 +00:00
1 parent 1187c36d66
commit 39627b3f4a
6 files changed
+415 -6

No files matched your search

+2
View File
@@ -18,6 +18,8 @@ internal static class Program
using var log = new FileLogSink(SetupPaths.LogDirectory, "setup");
Log.SetSink(log);
Log.Info("setup", $"Titano.Setup {typeof(Program).Assembly.GetName().Version} {string.Join(' ', args)}");
// The screenshot mode of every Titano program (CI); it builds its own sample installer.
if (args is ["--capture", var captureDirectory]) return Views.SetupCapture.Run(captureDirectory);
SetupArguments arguments;
try