diff --git a/src-ahqstore-types/Cargo.lock b/src-ahqstore-types/Cargo.lock index 7d2e25bc..62733f5f 100644 --- a/src-ahqstore-types/Cargo.lock +++ b/src-ahqstore-types/Cargo.lock @@ -19,7 +19,7 @@ checksum = "f26201604c87b1e01bd3d98f8d5d9a8fcbb815e8cedb41ffccbeb4bf593a35fe" [[package]] name = "ahqstore-types" -version = "3.1.7" +version = "3.2.0" dependencies = [ "reqwest", "serde", diff --git a/src-ahqstore-types/Cargo.toml b/src-ahqstore-types/Cargo.toml index e3ad3b9f..8f66cf70 100644 --- a/src-ahqstore-types/Cargo.toml +++ b/src-ahqstore-types/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "ahqstore-types" description = "Standard types used by AHQ Store" -version = "3.1.7" +version = "3.2.0" edition = "2021" license-file = "../LICENSE.md" repository = "https://github.com/ahqsoftwares/tauri-ahq-store" diff --git a/src-ahqstore-types/src/app/mod.rs b/src-ahqstore-types/src/app/mod.rs index c9b25491..34dcee6e 100644 --- a/src-ahqstore-types/src/app/mod.rs +++ b/src-ahqstore-types/src/app/mod.rs @@ -106,7 +106,7 @@ impl AHQStoreApplication { resp.push_str("❌ A maximum of 6 images (1 icon + 5 display images) can be set in displayImages\n"); } else if x.get(&0).is_none() { resp.push_str("❌ Resource with id 0 must be present as it represents icon\n"); - } else if !x.iter().all(|(id, _)| x.get(&(*id + 1)).is_some()) { + } else if !self.displayImages.iter().all(|id| x.get(&(*id + 1)).is_some()) { resp.push_str("❌ Every display images should have their resource id\n"); } else { resp.push_str("✅ Resources are valid\n"); diff --git a/src-tauri/Cargo.toml b/src-tauri/Cargo.toml index abe8088b..59eb34d3 100644 --- a/src-tauri/Cargo.toml +++ b/src-tauri/Cargo.toml @@ -38,7 +38,7 @@ bcrypt = "0.15.1" [target.'cfg(windows)'.dependencies] -windows = { version = "0.57.0", features = [ +windows = { version = "0.58.0", features = [ "Win32_System_Com", "Win32_Foundation", "Win32_UI_Shell",