diff --git a/src/main.rs b/src/main.rs index 668b2080..895a257a 100644 --- a/src/main.rs +++ b/src/main.rs @@ -3,6 +3,8 @@ // workflow treats them as errors, so this allows them throughout the project. // Feel free to delete this line. #![allow(clippy::too_many_arguments, clippy::type_complexity)] +// Disable console on Windows for release builds. +#![cfg_attr(not(debug_assertions), windows_subsystem = "windows")] use bevy::asset::AssetMetaCheck; use bevy::prelude::*;