Skip to content
This repository was archived by the owner on Jun 27, 2026. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -360,12 +360,13 @@ start_steam() {
# ---------- Steam compatibility ----------
detect_steam_type() {
local steam_type="unknown"
if command -v flatpak >/dev/null && flatpak list 2>/dev/null | grep -q "com.valvesoftware.Steam"; then
# Prioritize checking for native Steam first
if command -v steam >/dev/null && [[ -f /usr/bin/steam ]]; then
steam_type="native"
elif command -v flatpak >/dev/null && flatpak list 2>/dev/null | grep -q "com.valvesoftware.Steam"; then
steam_type="flatpak"
elif command -v snap >/dev/null && snap list 2>/dev/null | grep -q "^steam "; then
steam_type="snap"
elif command -v steam >/dev/null && [[ -f /usr/bin/steam ]]; then
steam_type="native"
fi
echo "$steam_type"
}
Expand Down