Skip to content

Commit

Permalink
Disable console on Windows for release builds
Browse files Browse the repository at this point in the history
  • Loading branch information
benfrankel committed Jul 4, 2024
1 parent bc4b276 commit e0db481
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
// 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::*;

Expand Down

0 comments on commit e0db481

Please sign in to comment.