Add debian Steam path

This commit is contained in:
Patrick Nicolas
2025-11-02 23:12:56 +01:00
parent 2696fa3b24
commit c9f8e6a542
+4
View File
@@ -55,6 +55,10 @@ std::pair<std::string, std::optional<std::filesystem::path>> find_steam()
if (std::filesystem::exists(h / ".var/app/com.valvesoftware.Steam/.steam/steam"))
return {"flatpak run com.valvesoftware.Steam", h / ".var/app/com.valvesoftware.Steam/.steam/steam"};
// Debian Steam (accessed from flatpak)
if (std::filesystem::exists(h / ".steam/debian-installation"))
return {"steam", h / ".steam/debian-installation"};
// system Steam
if (std::filesystem::exists(xdg_data_home() / "Steam"))
return {"steam", xdg_data_home() / "Steam"};