Skip to content

Commit

Permalink
Merge pull request #359 from nihaals/lutris-spec-db-merge
Browse files Browse the repository at this point in the history
Prioritise Lutris spec's game path and platform over DB values
  • Loading branch information
mtkennerly authored Jun 25, 2024
2 parents 0ebb6d4 + 8e10fea commit f536be3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/scan/launchers/lutris.rs
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,8 @@ impl Pending {
// Lutris updates the spec, but not the database,
// so we prefer the spec version.
prefix: spec.prefix.or(db.prefix),
platform: spec.platform.or(db.platform),
install_dir: db.install_dir.or(spec.install_dir),
platform: db.platform.or(spec.platform),
install_dir: spec.install_dir.or(db.install_dir),
}
}
}
Expand Down

0 comments on commit f536be3

Please # to comment.