chore: pkexec when selecting branch

This commit is contained in:
Kyle Gospodnetich 2025-01-20 09:49:33 -08:00
parent 2e16fc50f7
commit 88d9231da4

View File

@ -1,7 +1,7 @@
#!/usr/bin/bash
if [ -x /usr/bin/hhd.steamos ]; then
/usr/bin/hhd.steamos steamos-select-branch --fallback $@
/usr/bin/pkexec /usr/bin/hhd.steamos steamos-select-branch --fallback $@
ret=$?
# If ret is not 20, exit with the return code, otherwise continue
if [ $ret -ne 20 ]; then