mirror of
https://github.com/RedWizardsLab/EchoHub.git
synced 2026-09-04 08:36:11 +02:00
feat: Implement update confirmation handling and streamline update process
This commit is contained in:
@@ -40,6 +40,12 @@ public sealed class AppOrchestrator : IDisposable
|
||||
|
||||
public MainWindow MainWindow => _mainWindow;
|
||||
|
||||
/// <summary>
|
||||
/// Set when the user confirms an update. The host must run this after the Terminal.Gui main
|
||||
/// loop exits (console restored), so the updater's in-place restart doesn't fight the TUI.
|
||||
/// </summary>
|
||||
public Func<Task>? PendingUpdate => _updateService.PendingUpdate;
|
||||
|
||||
public AppOrchestrator(IApplication app, ClientConfig config)
|
||||
{
|
||||
_app = app;
|
||||
|
||||
Reference in New Issue
Block a user