mirror of
https://github.com/djibux/BoilR.git
synced 2026-09-01 14:03:42 +02:00
Simplify user selection (#318)
This commit is contained in:
@@ -77,6 +77,10 @@ pub fn get_shortcuts_paths(settings: &SteamSettings) -> eyre::Result<Vec<SteamUs
|
||||
Ok(meta) => meta.is_dir(),
|
||||
_ => false,
|
||||
})
|
||||
.filter(|folder| {
|
||||
let user_id = folder.file_name().to_string_lossy().to_string();
|
||||
user_id != "0"
|
||||
})
|
||||
.map(|folder| {
|
||||
let user_id = folder.file_name().to_string_lossy().to_string();
|
||||
let folder_path = folder.path();
|
||||
|
||||
Reference in New Issue
Block a user