mirror of
https://github.com/ankitects/anki.git
synced 2026-01-05 18:13:56 -05:00
remove incorrect call to ensure_terminal_shown
This commit is contained in:
parent
7c4a1e6c00
commit
3e0e5914eb
1 changed files with 0 additions and 4 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue