mirror of
https://github.com/djibux/BoilR.git
synced 2026-09-01 05:53:41 +02:00
Only add origin games that are installed
This commit is contained in:
@@ -85,7 +85,10 @@ fn is_mfst_file(file: &DirEntry) -> bool {
|
|||||||
.unwrap_or(false)
|
.unwrap_or(false)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
fn parse_id_from_file(i: &str) -> nom::IResult<&str, &str> {
|
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, _) = take_until("&id=")(i)?;
|
||||||
let (i, _) = nom::bytes::complete::tag("&id=")(i)?;
|
let (i, _) = nom::bytes::complete::tag("&id=")(i)?;
|
||||||
take_until("&")(i)
|
take_until("&")(i)
|
||||||
|
|||||||
Reference in New Issue
Block a user