feat: complete pilot CLI session and rollback lifecycle

This commit is contained in:
codex
2026-07-31 15:41:34 +03:00
parent e50dd7843f
commit f7202a4a3d
7 changed files with 322 additions and 13 deletions
+6 -1
View File
@@ -1 +1,6 @@
namespace Launcher.Next.App; public partial class App : System.Windows.Application { }
namespace Launcher.Next.App;
public partial class App : System.Windows.Application
{
protected override async void OnStartup(System.Windows.StartupEventArgs e)
{ base.OnStartup(e); if (e.Args.FirstOrDefault()?.Equals("pilot", StringComparison.OrdinalIgnoreCase) == true) { Shutdown(await PilotCli.RunAsync(e.Args.Skip(1).ToArray())); return; } new MainWindow().Show(); }
}