[2.1.3] Unhardcode window title
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user