From f10366efb1a9140c86635c334badff0fdc1aa5c7 Mon Sep 17 00:00:00 2001 From: irzinfante Date: Thu, 8 Dec 2022 20:20:19 +0100 Subject: [PATCH] Fix version number --- Cargo.toml | 2 +- src/main.rs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 6442964..0e38078 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tkd-scoreboard" -version = "1.0.3" +version = "1.0.5" edition = "2021" authors = ["irzinfante "] repository = "https://github.com/irzinfante/tkd-scoreboard/" diff --git a/src/main.rs b/src/main.rs index 78a1c42..72bd7d3 100644 --- a/src/main.rs +++ b/src/main.rs @@ -731,7 +731,7 @@ fn main() { }) }); }); - + while app.wait() { if !main_win.shown() || !screen_win.shown() { panic!("Exit!"); @@ -1438,7 +1438,7 @@ fn copyright(_screen_width: f64, screen_height: f64) -> frame::Frame { let mut copyright = frame::Frame::default() .with_pos(0, screen_height as i32) .with_align(enums::Align::RightBottom) - .with_label("Copyright (C) 2022 Iker Ruiz de Infante Gonzalez "); + .with_label(&format!("v{} - Copyright (C) 2022 Iker Ruiz de Infante Gonzalez ", env!("CARGO_PKG_VERSION"))); copyright.set_label_size(10); return copyright; } \ No newline at end of file