fix(build): only set windows_subsystem on Windows targets

This commit is contained in:
954801926@qq.com committed 2026-07-30 00:17:39 +08:00
1 parent 7b41518d6e
commit 548cdabe99
1 file changed
+4 -1
+4 -1
View File
@@ -1,4 +1,7 @@
#![cfg_attr(not(debug_assertions), windows_subsystem = "windows")]
#![cfg_attr(
all(not(debug_assertions), target_os = "windows"),
windows_subsystem = "windows"
)]
fn main() {
kimiswitch_lib::run();