Skip to content

Commit

Permalink
make Version display a hyperlink that links to Github release page
Browse files Browse the repository at this point in the history
  • Loading branch information
markusdd committed Apr 2, 2024
1 parent b6000b3 commit a7c0c9d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "easyeda_to_kicad_lib_ui"
version = "1.3.0"
version = "1.3.1"
authors = ["Markus Krause <[email protected]>"]
edition = "2021"
rust-version = "1.72"
Expand Down
5 changes: 4 additions & 1 deletion src/app.rs
Original file line number Diff line number Diff line change
Expand Up @@ -503,7 +503,10 @@ impl eframe::App for MyApp {

ui.with_layout(egui::Layout::bottom_up(egui::Align::LEFT), |ui| {
powered_by(ui);
ui.label(format!("Version: v{}", VERSION));
ui.hyperlink_to(
format!("Version: v{VERSION}"),
format!("https://github.com/markusdd/EasyEDA_to_KiCAD_Lib_UI/releases/tag/v{VERSION}"),
);
egui::warn_if_debug_build(ui);
});

Expand Down

0 comments on commit a7c0c9d

Please sign in to comment.