steam: add --shell option
This commit is contained in:
parent
025b3fb543
commit
3409026b6a
1 changed files with 5 additions and 1 deletions
|
@ -46,4 +46,8 @@ if [[ "${XAUTHORITY:-}" == /tmp/* ]]; then
|
|||
args+=(--ro-bind-try "$XAUTHORITY" "$XAUTHORITY")
|
||||
fi
|
||||
|
||||
exec bwrap "${args[@]}" -- /usr/bin/steam -disable-cef-sandbox "$@"
|
||||
if [ "${1:-}" == "--shell" ]; then
|
||||
exec bwrap "${args[@]}" -- /bin/sh
|
||||
else
|
||||
exec bwrap "${args[@]}" -- /usr/bin/steam -disable-cef-sandbox "$@"
|
||||
fi
|
||||
|
|
Loading…
Add table
Reference in a new issue