mirror of
https://github.com/ublue-os/bazzite.git
synced 2025-04-10 15:45:17 +00:00
chore: Switch back to $*, prepend rather than append
This commit is contained in:
parent
4ff45a35f8
commit
e250271913
@ -1,11 +1,11 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
LAUNCH_OPTIONS="$@"
|
LAUNCH_OPTIONS="$*"
|
||||||
|
|
||||||
# If Steam has been launched before we can safely launch with -steamdeck
|
# If Steam has been launched before we can safely launch with -steamdeck
|
||||||
# to maintain the gamemode update branch
|
# to maintain the gamemode update branch
|
||||||
if [ -f $HOME/.local/share/Steam/ubuntu12_32/steamui.so ]; then
|
if [ -f $HOME/.local/share/Steam/ubuntu12_32/steamui.so ]; then
|
||||||
LAUNCH_OPTIONS="$LAUNCH_OPTIONS -steamdeck"
|
LAUNCH_OPTIONS="-steamdeck $LAUNCH_OPTIONS"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ "$XDG_SESSION_TYPE" = "wayland" ]]; then
|
if [[ "$XDG_SESSION_TYPE" = "wayland" ]]; then
|
||||||
@ -15,7 +15,7 @@ if [[ "$XDG_SESSION_TYPE" = "wayland" ]]; then
|
|||||||
# It's been primarily developed for allowing the desktop functionality
|
# It's been primarily developed for allowing the desktop functionality
|
||||||
# on the Steam Controller to work while Steam is open on Wayland.
|
# on the Steam Controller to work while Steam is open on Wayland.
|
||||||
# Also supports Steam Input as a whole.
|
# Also supports Steam Input as a whole.
|
||||||
env LD_PRELOAD=/usr/lib/extest/libextest.so /usr/bin/steam "$LAUNCH_OPTIONS -pipewire"
|
env LD_PRELOAD=/usr/lib/extest/libextest.so /usr/bin/steam "-pipewire $LAUNCH_OPTIONS"
|
||||||
else
|
else
|
||||||
/usr/bin/steam "$LAUNCH_OPTIONS"
|
/usr/bin/steam "$LAUNCH_OPTIONS"
|
||||||
fi
|
fi
|
Loading…
x
Reference in New Issue
Block a user