From 2b1c098927a6cbb55ee36b2dbf22d738d72a5e16 Mon Sep 17 00:00:00 2001 From: Nikita Podvirnyi Date: Sat, 3 Aug 2024 08:12:38 +0200 Subject: [PATCH 1/2] fix: fixed background picture URI --- src/background.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/background.rs b/src/background.rs index ab5525d..382767a 100644 --- a/src/background.rs +++ b/src/background.rs @@ -34,7 +34,7 @@ pub fn get_background_info() -> anyhow::Result { .iter() .find(|game| { match game["game"]["biz"].as_str() { - Some(biz) => biz.starts_with("hkrpg_"), + Some(biz) => biz.starts_with("bh3_"), _ => false } }) From 5f4b2b0888f8e6b59283f7d182b9690666f28fe1 Mon Sep 17 00:00:00 2001 From: Nikita Podvirnyi Date: Sat, 3 Aug 2024 08:13:20 +0200 Subject: [PATCH 2/2] feat: updated changelog --- CHANGELOG.md | 4 ++++ src/ui/about.rs | 30 +----------------------------- 2 files changed, 5 insertions(+), 29 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8a70ba3..ec42879 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +### Fixed + +- Fixed background picture URI + ## [1.7.0] - 02.08.2024 ### Added diff --git a/src/ui/about.rs b/src/ui/about.rs index 8f35d87..c7fd091 100644 --- a/src/ui/about.rs +++ b/src/ui/about.rs @@ -100,38 +100,10 @@ impl SimpleComponent for AboutDialog { set_release_notes_version: &APP_VERSION, set_release_notes: &[ - "

Added

", - - "
    ", - "
  • List missing dependencies on non-standard distros during initial setup
  • ", - "
  • Handle dwebp re-coding errors
  • ", - "
  • Added \"Indonesia\" wine language option
  • ", - "
  • Added writing of the game's output to the \"game.log\" file in the launcher's folder
  • ", - "
  • Respect root \".version\" file for game version parsing
  • ", - "
", - "

Fixed

", "
    ", - "
  • Fixed Italian localization breaking the launcher
  • ", - "
  • Fixed Discord RPC updates
  • ", - "
", - - "

Changed

", - - "
    ", - "
  • Support new game API
  • ", - "
  • Updated desktop file entry to include \"hl\" keyword
  • ", - "
  • Localized \"force-grab-cursor\" to Ukrainian
  • ", - "
  • Changed background images processing logic
  • ", - "
  • Prioritize parsed game version over the API response
  • ", - "
", - - "

Removed

", - - "
    ", - "
  • Removed \"xdelta3\" dependency
  • ", - "
  • Removed migrate installation feature
  • ", + "
  • Fixed background picture URI
  • ", "
" ].join("\n"),