Skip to content

Commit 6e3370f

Browse files
committed
add steamos check
1 parent d18ead0 commit 6e3370f

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

install.sh

+8
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,14 @@ if [ "${is_bazzite}" ]; then
1414
exit
1515
fi
1616

17+
is_steamos=$(cat /etc/os-release | grep ID=steamos)
18+
if [[ -n "${is_steamos}" && -z "${BYPASS_STEAMOS_CHECK}" ]]; then
19+
echo "Installing Handheld Daemon on SteamOS is not canon."
20+
echo
21+
echo "Did you mean to install Bazzite? https://bazzite.gg"
22+
exit
23+
fi
24+
1725
set -e
1826

1927
# Install Handheld Daemon to ~/.local/share/hhd

0 commit comments

Comments
 (0)