aboutsummaryrefslogtreecommitdiff
path: root/src-tauri
diff options
context:
space:
mode:
authorGeckoEidechse <gecko.eidechse+git@pm.me>2022-09-14 23:32:13 +0200
committerGeckoEidechse <gecko.eidechse+git@pm.me>2022-09-14 23:32:13 +0200
commit7899a99d89bfd5f9fea52e9cdb01f367e2ccef3b (patch)
tree405e50e1d28fd0b52629a00c817a6ddcf0a17b0b /src-tauri
parent5fd674a48bfa7d36ec3e59cd703eb0ec0e363c7d (diff)
downloadFlightCore-7899a99d89bfd5f9fea52e9cdb01f367e2ccef3b.tar.gz
FlightCore-7899a99d89bfd5f9fea52e9cdb01f367e2ccef3b.zip
Add missing `to_lowercase()`
WIthout it, the Northstar package would never be found.
Diffstat (limited to 'src-tauri')
-rw-r--r--src-tauri/src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src-tauri/src/lib.rs b/src-tauri/src/lib.rs
index df83de80..63f57cd4 100644
--- a/src-tauri/src/lib.rs
+++ b/src-tauri/src/lib.rs
@@ -238,7 +238,7 @@ pub async fn install_northstar(game_path: &str) -> Result<String> {
let index = thermite::api::get_package_index().await.unwrap().to_vec();
let nmod = index
.iter()
- .find(|f| f.name.to_lowercase() == northstar_package_name)
+ .find(|f| f.name.to_lowercase() == northstar_package_name.to_lowercase())
.ok_or_else(|| panic!("Couldn't find Northstar on thunderstore???"))
.unwrap();