macro version into window title

This commit is contained in:
Quaternions 2023-09-05 12:23:08 -07:00
parent e347d4fd51
commit c3290e2ce6

View File

@ -634,5 +634,9 @@ impl strafe_client::framework::Example for Skybox {
} }
fn main() { fn main() {
strafe_client::framework::run::<Skybox>("Strafe Client v0.1"); strafe_client::framework::run::<Skybox>(
format!("Strafe Client v{}",
env!("CARGO_PKG_VERSION")
).as_str()
);
} }