make script not fail when gaming module isn't loaded

This commit is contained in:
Tyler Starr 2023-09-12 22:38:54 -07:00
parent 67ea7ce796
commit 0f2e8d4332

View File

@ -6,8 +6,11 @@ apps=(
"yuzu Yuzu"
)
for app in "${apps[@]}"
do
set -- $app
steamtinkerlaunch addnonsteamgame -ep="$1" -an="$2"
done
if command -v steamtinkerlaunch &> /dev/null
then
for app in "${apps[@]}"
do
set -- $app
steamtinkerlaunch addnonsteamgame -ep="$1" -an="$2"
done
fi