Skip to content

Commit

Permalink
Fix pre-detected Steam paths for Linux
Browse files Browse the repository at this point in the history
typo in Flatpak's `com` and needed the entire suffix
for the symlinked Steam root
  • Loading branch information
fifty-six committed Jul 7, 2023
1 parent 5d5db13 commit b115853
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions Scarab/Settings.cs
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,9 @@ public class Settings : ISettings
".local/share/Steam/steamapps/common/Hollow Knight",
".steam/steam/steamapps/common/Hollow Knight",
// Flatpak
".var/app/ocm.valvesoftware.Steam/data/Steam/steamapps/common",
".var/app/com.valvesoftware.Steam/data/Steam/steamapps/common/Hollow Knight",
// Symlinks to the Steam root on linux
".steam/steam",
".steam/root",
".steam/root/steamapps/common/Hollow Knight",
// Default for macOS
"Library/Application Support/Steam/steamapps/common/Hollow Knight/hollow_knight.app"
}
Expand Down Expand Up @@ -216,4 +215,4 @@ public void Save()
File.WriteAllText(path, content);
}
}
}
}

0 comments on commit b115853

Please sign in to comment.