Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
use std::env;

use crate::cpu_compatibility::check_cpu_compatibility;

mod app;
Expand Down Expand Up @@ -30,8 +32,9 @@ fn main() -> eframe::Result<()> {
centered: true, // Center window on startup if not maximized
..Default::default()
};
let version = env::var("CARGO_PKG_VERSION").unwrap_or_else(|_| "".to_string());
eframe::run_native(
"Dash Evo Tool",
&format!("Dash Evo Tool v{}", version),
native_options,
Box::new(|_cc| Ok(Box::new(app::AppState::new()))),
)
Expand Down