[2.1.3] Unhardcode window title

This commit is contained in:
2026-01-11 23:44:02 +02:00
parent c423993a93
commit 7dcaa1436b
4 changed files with 11 additions and 12 deletions

View File

@@ -11,7 +11,6 @@ mod components;
mod data;
mod utils;
const W_NAME: &str = "xmpd v2.0.0a";
type Result<T> = anyhow::Result<T>;
@@ -24,7 +23,7 @@ pub fn start() -> Result<()> {
let options = eframe::NativeOptions::default();
let mut state = GuiState::new(&manifest_p)?;
let res = eframe::run_simple_native(W_NAME, options, move |ctx, _frame| {
let res = eframe::run_simple_native(&format!("xmpd v{}", env!("CARGO_PKG_VERSION")), options, move |ctx, _frame| {
#[cfg(debug_assertions)]
let f_start = Instant::now();