From 3e0e5914ebf9208dba65cd4e24b93b15fe5592d1 Mon Sep 17 00:00:00 2001 From: llama Date: Sun, 23 Nov 2025 18:51:04 +0800 Subject: [PATCH] remove incorrect call to ensure_terminal_shown --- qt/launcher/src/platform/mod.rs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/qt/launcher/src/platform/mod.rs b/qt/launcher/src/platform/mod.rs index ac959a075..e66860155 100644 --- a/qt/launcher/src/platform/mod.rs +++ b/qt/launcher/src/platform/mod.rs @@ -133,10 +133,6 @@ pub fn _run_anki_embeddedly(state: &crate::State) -> Result<()> { #[cfg(windows)] { let console = std::env::var("ANKI_CONSOLE").is_ok(); - if console { - // no pythonw.exe available for us to use - ensure_terminal_shown()?; - } crate::platform::windows::prepare_to_launch_normally(); // NOTE: without windows_subsystem=console or pythonw, // we need to reconnect stdin/stdout/stderr within the interp