diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 4067666..572bc24 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -3,7 +3,7 @@ repos: rev: master hooks: - id: fmt - args: ['-all', '--', '--check'] + args: ['--all', '--', '--check'] - id: cargo-check - id: clippy args: ['--', '-D', 'warnings'] diff --git a/src/main.rs b/src/main.rs index acc4426..ee9ff78 100644 --- a/src/main.rs +++ b/src/main.rs @@ -8,7 +8,13 @@ use bevy::prelude::*; fn main() { App::new() - .add_plugins(DefaultPlugins) + .add_plugins(DefaultPlugins.set(WindowPlugin { + primary_window: Some(Window { + title: "Hold The Line".into(), + ..default() + }), + ..default() + })) .add_systems(Startup, setup) .run(); }