Skip to content

Commit

Permalink
bump versions, fix issue with whitespace on app name
Browse files Browse the repository at this point in the history
  • Loading branch information
Dvlv committed Jun 14, 2024
1 parent 613fcb8 commit 63b4420
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,4 @@ update-translations:
bash scripts/update-translations.sh

f40:
GETTEXT_SYSTEM=true cargo build --release
GETTEXT_SYSTEM=true cargo build --release && target/release/boxbuddy-rs
5 changes: 5 additions & 0 deletions io.github.dvlv.boxbuddyrs.metainfo.xml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,11 @@
<url type="help">https://dvlv.github.io/BoxBuddyRS</url>

<releases>
<release version="2.2.7" date="2024-06-14">
<description>
<p>Fix issue launching apps with Run button</p>
</description>
</release>
<release version="2.2.6" date="2024-06-13">
<description>
<p>French translations</p>
Expand Down
8 changes: 5 additions & 3 deletions src/distrobox_handler.rs
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,6 @@ pub fn get_all_distroboxes() -> Vec<DBox> {
is_running,
});
}

//println!("line: {:?}", line);
}

my_boxes
Expand Down Expand Up @@ -395,7 +393,11 @@ pub fn get_apps_in_box(box_name: &str) -> Vec<DBoxApp> {

let app = DBoxApp {
name: pieces[0].clone(),
exec_name: pieces[1].replace("%F", "").replace("%U", ""),
exec_name: pieces[1]
.replace("%F", "")
.replace("%U", "")
.trim()
.to_owned(),
icon: pieces[2].clone(),
desktop_file: desktop_file_name,
is_on_host: host_apps.contains(&host_desktop_name),
Expand Down
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -870,7 +870,7 @@ fn show_about_popup(window: &ApplicationWindow) {
let d = adw::AboutWindow::new();
d.set_transient_for(Some(window));
d.set_application_name("BoxBuddy");
d.set_version("2.2.6");
d.set_version("2.2.7");
d.set_developer_name("Dvlv");
d.set_license_type(gtk::License::MitX11);
// TRANSLATORS: Description of the application
Expand Down

0 comments on commit 63b4420

Please sign in to comment.