mirror of
https://github.com/Droid-Deck/DroidDeck.git
synced 2026-11-19 21:06:09 +00:00
17 lines
472 B
Bash
Executable File
17 lines
472 B
Bash
Executable File
#!/bin/bash
|
|
set -u
|
|
if [ "${BL_DESKTOP:-}" = 1 ]; then
|
|
url=
|
|
ui=desktop
|
|
for arg in "$@"; do
|
|
case $arg in
|
|
steam://*) url=$arg ;;
|
|
-shutdown) url=steam://exit ;;
|
|
-gamepadui|-bigpicture) ui=bigpicture ;;
|
|
esac
|
|
done
|
|
exec /usr/local/bin/droiddeck-steam-launch "$ui" ${url:+"$url"}
|
|
fi
|
|
[ "${BL_STEAM_CLIENT_ARCH:-}" = x86_64 ] && exec /usr/local/bin/droiddeck-steam-x64 --exec "$@"
|
|
exec "${HOME:-/root}/.local/share/Steam/steamrtarm64/steam" "$@"
|