From 0c50bd7051d4f9b3463aaab01b419cbc1d45af7d Mon Sep 17 00:00:00 2001 From: Nikita Podvirnyi Date: Fri, 5 Jul 2024 21:46:56 +0200 Subject: [PATCH 1/3] build: updated dependencies --- Cargo.lock | 20 ++++++++++---------- Cargo.toml | 10 +++++----- 2 files changed, 15 insertions(+), 15 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 1f7c5f0..3e27a2f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -57,8 +57,8 @@ checksum = "5c6cb57a04249c6480766f7f7cef5467412af1490f8d1e243141daddada3264f" [[package]] name = "anime-game-core" -version = "1.20.2" -source = "git+https://github.com/an-anime-team/anime-game-core?tag=1.20.2#3f013bffed78ca9c22db1d8bb10d4ae8ef527c5c" +version = "1.21.2" +source = "git+https://github.com/an-anime-team/anime-game-core?tag=1.21.2#7944efab8516e581367963e82674060a33b9d72e" dependencies = [ "anyhow", "bzip2", @@ -107,8 +107,8 @@ dependencies = [ [[package]] name = "anime-launcher-sdk" -version = "1.15.4" -source = "git+https://github.com/an-anime-team/anime-launcher-sdk?tag=1.15.4#eebd048fb05034959fd06e499fcdfaebbcce1d6c" +version = "1.16.3" +source = "git+https://github.com/an-anime-team/anime-launcher-sdk?tag=1.16.3#91ce712a941dbbee8b24b8beadaf50bb01dfb32f" dependencies = [ "anime-game-core", "anyhow", @@ -488,9 +488,9 @@ dependencies = [ [[package]] name = "cached" -version = "0.51.4" +version = "0.52.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0feb64151eed3da6107fddd2d717a6ca4b9dbd74e43784c55c841d1abfe5a295" +checksum = "a8466736fe5dbcaf8b8ee24f9bbefe43c884dc3e9ff7178da70f55bffca1133c" dependencies = [ "ahash", "cached_proc_macro", @@ -503,9 +503,9 @@ dependencies = [ [[package]] name = "cached_proc_macro" -version = "0.21.0" +version = "0.22.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "771aa57f3b17da6c8bcacb187bb9ec9bc81c8160e72342e67c329e0e1651a669" +checksum = "575f32e012222055211b70f5b0601f951f84523410a0e65c81f2744a6042450d" dependencies = [ "darling", "proc-macro2", @@ -1926,9 +1926,9 @@ checksum = "3fdb12b2476b595f9358c5161aa467c2438859caa136dec86c26fdd2efe17b92" [[package]] name = "open" -version = "5.1.4" +version = "5.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b5ca541f22b1c46d4bb9801014f234758ab4297e7870b904b6a8415b980a7388" +checksum = "9d2c909a3fce3bd80efef4cd1c6c056bd9376a8fe06fcfdbebaf32cb485a7e37" dependencies = [ "is-wsl", "libc", diff --git a/Cargo.toml b/Cargo.toml index 29daede..bb82445 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -19,24 +19,24 @@ glib-build-tools = "0.19" [dependencies.anime-launcher-sdk] git = "https://github.com/an-anime-team/anime-launcher-sdk" -tag = "1.15.4" +tag = "1.16.3" features = ["all", "genshin"] # path = "../anime-launcher-sdk" # ! for dev purposes only [dependencies] relm4 = { version = "0.8.1", features = ["macros", "libadwaita"] } -gtk = { package = "gtk4", version = "0.8.1", features = ["v4_12"] } +gtk = { package = "gtk4", version = "0.8.2", features = ["v4_12"] } adw = { package = "libadwaita", version = "0.6.0", features = ["v1_4"] } rfd = { version = "0.14.1", features = ["xdg-portal", "tokio"], default-features = false } -open = "5.0.0" +open = "5.2.0" whatadistro = "0.1.0" serde_json = "1.0" anyhow = "1.0" -lazy_static = "1.4.0" -cached = { version = "0.51", features = ["proc_macro"] } +lazy_static = "1.5.0" +cached = { version = "0.52", features = ["proc_macro"] } md-5 = { version = "0.10", features = ["asm"] } enum-ordinalize = "4.3" From b7bfda5a8572f56308b08f00532aebeee780cf50 Mon Sep 17 00:00:00 2001 From: Nikita Podvirnyi Date: Fri, 5 Jul 2024 21:47:22 +0200 Subject: [PATCH 2/3] feat: clarified runtime dependencies Removed xdelta3, updated dwebp package name for fedora --- src/ui/first_run/dependencies.rs | 12 ++++-------- src/ui/first_run/welcome.rs | 2 +- 2 files changed, 5 insertions(+), 9 deletions(-) diff --git a/src/ui/first_run/dependencies.rs b/src/ui/first_run/dependencies.rs index 0c80e90..f90a861 100644 --- a/src/ui/first_run/dependencies.rs +++ b/src/ui/first_run/dependencies.rs @@ -68,7 +68,7 @@ impl SimpleAsyncComponent for DependenciesApp { }, gtk::Entry { - set_text: "sudo pacman -Syu git xdelta3 p7zip libwebp", + set_text: "sudo pacman -Syu git p7zip libwebp", set_editable: false } }, @@ -85,7 +85,7 @@ impl SimpleAsyncComponent for DependenciesApp { }, gtk::Entry { - set_text: "sudo apt install git xdelta3 p7zip-full webp", + set_text: "sudo apt install git p7zip-full webp", set_editable: false } }, @@ -102,7 +102,7 @@ impl SimpleAsyncComponent for DependenciesApp { }, gtk::Entry { - set_text: "sudo dnf install git xdelta p7zip libwebp", + set_text: "sudo dnf install git p7zip libwebp-tools", set_editable: false } }, @@ -119,10 +119,6 @@ impl SimpleAsyncComponent for DependenciesApp { set_title: "git" }, - adw::ActionRow { - set_title: "xdelta3" - }, - adw::ActionRow { set_title: "p7zip" }, @@ -195,7 +191,7 @@ impl SimpleAsyncComponent for DependenciesApp { match msg { #[allow(unused_must_use)] DependenciesAppMsg::Continue => { - let packages = ["git", "xdelta3", "dwebp"]; + let packages = ["git", "dwebp"]; for package in packages { if !is_available(package) { diff --git a/src/ui/first_run/welcome.rs b/src/ui/first_run/welcome.rs index 6bfcd15..7965f95 100644 --- a/src/ui/first_run/welcome.rs +++ b/src/ui/first_run/welcome.rs @@ -81,7 +81,7 @@ impl SimpleAsyncComponent for WelcomeApp { WelcomeAppMsg::Continue => { let installed = is_available("git") && - is_available("xdelta3") && + is_available("dwebp") && (is_available("7z") || is_available("7za")); if installed { From 9ac9f447e0e72eb756c9851c137a238e80d61718 Mon Sep 17 00:00:00 2001 From: Nikita Podvirnyi Date: Fri, 5 Jul 2024 22:20:01 +0200 Subject: [PATCH 3/3] feat: updated changelog --- CHANGELOG.md | 9 +++++++++ src/ui/about.rs | 13 ++++++++++++- 2 files changed, 21 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8229857..467c743 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +### Fixed + +- Fixed infinite updates loop on minor game patches (notably 1.0.1) +- Fixed prefix paths for proton builds for game drives mapping + +### Changed + +- Removed xdelta3 runtime dependency, updated dwebp package name for fedora + ## [1.0.0] - 04.07.2024 🚀 Initial release diff --git a/src/ui/about.rs b/src/ui/about.rs index a6dbf94..f626d7c 100644 --- a/src/ui/about.rs +++ b/src/ui/about.rs @@ -91,7 +91,18 @@ impl SimpleComponent for AboutDialog { set_release_notes_version: &APP_VERSION, set_release_notes: &[ - "

Initial release

" + "

Fixed

", + + "
    ", + "
  • Fixed infinite updates loop on minor game patches (notably 1.0.1)
  • ", + "
  • Fixed prefix paths for proton builds for game drives mapping
  • ", + "
", + + "

Changed

", + + "
    ", + "
  • Removed xdelta3 runtime dependency, updated dwebp package name for fedora
  • ", + "
" ].join("\n"), set_modal: true,