mirror of
https://github.com/BeamMP/BeamMP-Launcher.git
synced 2025-07-20 11:14:22 +00:00
Add Debian legacy Steam installation path
Current Steam installations seem to have a much cleaner filesystem layout on Debian while older ones look quite different. Older Debian installations ~/.steam/root points to ~/.steam while newer ones point to ~/.steam/debian-installation and hence BeamMP cannot find integrity.json. 'steamapps' is at ~/.steam/debian-installation in newer installations. On the older installations, 'steamapps' is at ~/.steam/steam/steamapps. Signed-off-by: Markus Ingalsuo <markus.ingalsuo@gmail.com>
This commit is contained in:
parent
406c79ef82
commit
185818d174
@ -187,6 +187,7 @@ void LegitimacyCheck() {
|
||||
// Right now only steam is supported
|
||||
std::vector<std::filesystem::path> steamappsCommonPaths = {
|
||||
".steam/root/steamapps", // default
|
||||
".steam/steam/steamapps", // Legacy Steam installations
|
||||
".var/app/com.valvesoftware.Steam/.steam/root/steamapps", // flatpak
|
||||
"snap/steam/common/.local/share/Steam/steamapps" // snap
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user