Add console window hiding for Windows

This commit is contained in:
2024-04-24 03:07:50 -05:00
parent 9cd4d39e89
commit 0ac915a865
4 changed files with 49 additions and 7 deletions

View File

@@ -15,5 +15,9 @@ tracing = { version = "0.1.37", features = ["max_level_debug", "release_max_leve
tracing-error = "0.2.0"
tracing-subscriber = {version = "0.3.17", features = ["env-filter"]}
[target.'cfg(target_os = "windows")'.dependencies]
atty = "0.2"
winapi = {version = "0.3", features = ["wincon", "winuser"]}
[target.'cfg(target_os = "emscripten")'.dependencies]
libc = "0.2.16"