Skip to content

Commit

Permalink
Fix version number
Browse files Browse the repository at this point in the history
  • Loading branch information
irzinfante committed Dec 8, 2022
1 parent b3698b6 commit f10366e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "tkd-scoreboard"
version = "1.0.3"
version = "1.0.5"
edition = "2021"
authors = ["irzinfante <[email protected]>"]
repository = "https://github.com/irzinfante/tkd-scoreboard/"
Expand Down
4 changes: 2 additions & 2 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -731,7 +731,7 @@ fn main() {
})
});
});

while app.wait() {
if !main_win.shown() || !screen_win.shown() {
panic!("Exit!");
Expand Down Expand Up @@ -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 <contact@@irzinfante.eu>");
.with_label(&format!("v{} - Copyright (C) 2022 Iker Ruiz de Infante Gonzalez <contact@@irzinfante.eu>", env!("CARGO_PKG_VERSION")));
copyright.set_label_size(10);
return copyright;
}

0 comments on commit f10366e

Please sign in to comment.