Skip to content

Commit ab6dad3

Browse files
committed
fix: don't open console window on windows
1 parent 4fd1be3 commit ab6dad3

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

src/backend_task/core/start_dash_qt.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ fn signal_term(child: &Child) -> Result<(), String> {
133133
}
134134

135135
#[cfg(windows)]
136-
fn signal_term(child: &Child) -> Result<(), String> {
136+
fn signal_term(_child: &Child) -> Result<(), String> {
137137
// TODO: Implement graceful termination for Dash-Qt on Windows.
138138
tracing::warn!(
139139
"SIGTERM signal is not supported on Windows. Dash-Qt process will not be gracefully terminated."

src/main.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#![cfg_attr(target_os = "windows", windows_subsystem = "windows")]
2+
13
use dash_evo_tool::*;
24

35
use crate::app_dir::{app_user_data_dir_path, create_app_user_data_directory_if_not_exists};

0 commit comments

Comments
 (0)