Only add origin games that are installed

This commit is contained in:
Philip
2021-10-01 22:27:58 +02:00
parent d7deae57ad
commit 9f9cb34161
+3
View File
@@ -85,7 +85,10 @@ fn is_mfst_file(file: &DirEntry) -> bool {
.unwrap_or(false)
}
fn parse_id_from_file(i: &str) -> nom::IResult<&str, &str> {
let (i, _) = take_until("currentstate=kReadyToStart")(i)?;
let (i, _) = take_until("&id=")(i)?;
let (i, _) = nom::bytes::complete::tag("&id=")(i)?;
take_until("&")(i)