Skip to content

Commit

Permalink
Version 0.1.4 (#14)
Browse files Browse the repository at this point in the history
* Remove support link

* Up version

* Remove boosty icon link in code
  • Loading branch information
insolor authored Feb 24, 2024
1 parent 84fcff3 commit 8e8fadf
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 10 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 = "dfint-installer"
version = "0.1.3"
version = "0.1.4"
edition = "2021"
build = "build.rs"

Expand Down
Binary file removed assets/boosty.png
Binary file not shown.
3 changes: 1 addition & 2 deletions locale/en-US.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"support": "support",
"report bug": "report bug",
"Report bug": "Report bug",
"Path": "Path",
"OS": "OS",
"Checksum": "Checksum",
Expand Down
3 changes: 1 addition & 2 deletions locale/ru-RU.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"support": "поддержка",
"report bug": "сообщить об ошибке",
"Report bug": "Сообщить об ошибке",
"Path": "Путь",
"OS": "ОС",
"Checksum": "Контрольная сумма",
Expand Down
4 changes: 1 addition & 3 deletions src/app.rs
Original file line number Diff line number Diff line change
Expand Up @@ -112,10 +112,8 @@ impl eframe::App for App {
// status bar
egui::TopBottomPanel::bottom("status").show(ctx, |ui| {
ui.horizontal_centered(|ui| {
ui.add(egui::Image::new(BOOSTY_ICON.to_owned()).max_height(15.).max_width(15.));
ui.hyperlink_to(t!("support"), URL_BOOSTY);
ui.add(egui::Image::new(GITHUB_ICON.to_owned()).max_height(15.).max_width(15.));
ui.hyperlink_to(t!("report bug"), URL_BUGS);
ui.hyperlink_to(t!("Report bug"), URL_BUGS);
ui.label(format!("v{VERSION}"));
})
});
Expand Down
2 changes: 0 additions & 2 deletions src/constants.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
pub const VERSION: &'static str = env!("CARGO_PKG_VERSION");

pub const BOOSTY_ICON: eframe::egui::widgets::ImageSource<'static> =
eframe::egui::include_image!("../assets/boosty.png");
pub const GITHUB_ICON: eframe::egui::widgets::ImageSource<'static> =
eframe::egui::include_image!("../assets/github.png");
pub const APP_ICON: &'static [u8; 1980] = include_bytes!("../assets/df.png");
Expand Down

0 comments on commit 8e8fadf

Please sign in to comment.