mirror of
https://github.com/djibux/BoilR.git
synced 2026-09-01 05:53:41 +02:00
Only search for shortcuts with names
This commit is contained in:
@@ -24,8 +24,11 @@ pub async fn download_images<'a, 'b>(
|
||||
format!("{}_logo.png", s.app_id),
|
||||
];
|
||||
// if we are missing any of the images we need to search for them
|
||||
images.iter().any(|image| !known_images.contains(&image))
|
||||
images.iter().any(|image| !known_images.contains(&image)) && "" != s.app_name
|
||||
});
|
||||
if shortcuts_to_search_for.clone().count() == 0 {
|
||||
return Ok(());
|
||||
}
|
||||
let mut search_results = HashMap::new();
|
||||
for s in shortcuts_to_search_for {
|
||||
println!("Searching for {}", s.app_name);
|
||||
|
||||
Reference in New Issue
Block a user