diff options
| author | HampusM <hampus@hampusmat.com> | 2026-07-03 05:08:23 +0200 |
|---|---|---|
| committer | HampusM <hampus@hampusmat.com> | 2026-07-03 05:08:23 +0200 |
| commit | ac94fb9f96a70588204ae4d21b47ad161890971e (patch) | |
| tree | cc58a77cba9e34f59e6c493d1c05380c179563c5 /src/main.rs | |
| parent | dc0a41019736b3fbd92e302252c33f7ffb65467d (diff) | |
fix: don't show console in Windows release builds
Diffstat (limited to 'src/main.rs')
| -rw-r--r-- | src/main.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main.rs b/src/main.rs index e5076d1..6b8d1a7 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,3 +1,4 @@ +#![cfg_attr(all(windows, not(debug_assertions)), windows_subsystem = "windows")] use std::error::Error; use std::path::Path; |
