From 76526df4008f27fe8c24a856a44055e3c2645d93 Mon Sep 17 00:00:00 2001 From: Alula Date: Mon, 7 Dec 2020 00:47:26 +0100 Subject: [PATCH] Disable console on Windows release builds --- src/main.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main.rs b/src/main.rs index 7a93c43..e903cbd 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,3 +1,5 @@ +#![cfg_attr(not(debug_assertions), windows_subsystem = "windows")] + fn main() { doukutsu_rs::init().unwrap(); }