Skip to content

Commit

Permalink
Fix Steam Flatpak check
Browse files Browse the repository at this point in the history
  • Loading branch information
strycore committed Apr 29, 2024
1 parent f7a47ff commit f213290
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lutris/util/linux.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
import sys
from collections import Counter, defaultdict

from lutris.util import system
from lutris.util import flatpak, system
from lutris.util.graphics import drivers, glxinfo, vkquery
from lutris.util.log import logger

Expand Down Expand Up @@ -235,7 +235,7 @@ def has_steam(self):
"""Return whether Steam is installed locally"""
return (
system.can_find_executable("steam")
or system.can_find_executable("com.valvesoftware.Steam")
or flatpak.is_app_installed("com.valvesoftware.Steam")
or os.path.exists(os.path.expanduser("~/.steam/steam/ubuntu12_32/steam"))
)

Expand Down

0 comments on commit f213290

Please sign in to comment.