From ceb426e1c0c1ac4db8a0b0c576405350af4ad4ce Mon Sep 17 00:00:00 2001 From: phact Date: Tue, 28 Oct 2025 13:59:19 -0400 Subject: [PATCH] exit --- src/tui/main.py | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/src/tui/main.py b/src/tui/main.py index 5ddd089c..417279c9 100644 --- a/src/tui/main.py +++ b/src/tui/main.py @@ -368,14 +368,15 @@ class OpenRAGTUI(App): def on_mount(self) -> None: """Initialize the application.""" - # Check if running on native Windows and recommend WSL + # Check if running on native Windows and exit if self.platform_detector.is_native_windows(): - notify_with_diagnostics( - self, - "Running on native Windows. For best experience, use WSL. See diagnostics for details.", - severity="warning", - timeout=15, - ) + print("\n" + "=" * 60) + print("⚠️ Native Windows Not Supported") + print("=" * 60) + print(self.platform_detector.get_wsl_recommendation()) + print("=" * 60 + "\n") + self.exit(1) + return # Check for runtime availability and show appropriate screen if not self.container_manager.is_available():