Skip to content

Commit 2493b39

Browse files
authored
Merge pull request #556 from madscientist16/madscientist16-patch-1
Fix native Linux saves not being detected for Flatpak Lutris
2 parents ce55ee8 + c68084b commit 2493b39

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/scan.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,10 @@ pub fn parse_paths(
204204
}
205205
}
206206
Store::Lutris => {
207-
if Os::HOST == Os::Linux && root_globbable.ends_with(".var/app/net.lutris.Lutris/config/lutris") {
207+
if Os::HOST == Os::Linux
208+
&& (root_globbable.ends_with(".var/app/net.lutris.Lutris/data/lutris")
209+
|| root_globbable.ends_with(".var/app/net.lutris.Lutris/config/lutris"))
210+
{
208211
// Lutris is installed via Flatpak.
209212
add_path!(path
210213
.replace(

0 commit comments

Comments
 (0)