minor changes

This commit is contained in:
Mikhail Tergoev 2024-10-19 13:08:32 +03:00
parent 671a7219e3
commit b615f22239

@ -2719,7 +2719,9 @@ start_portwine () {
if check_gamescope_session ; then if check_gamescope_session ; then
export PW_GAMEMODERUN_SLR="" export PW_GAMEMODERUN_SLR=""
elif [[ "$PW_USE_GAMEMODE" = "1" ]] && [[ -n "$DBUS_SESSION_BUS_ADDRESS" ]]; then elif [[ "$PW_USE_GAMEMODE" = "1" ]] && [[ -n "$DBUS_SESSION_BUS_ADDRESS" ]]; then
if systemctl is-active --quiet ananicy.service || systemctl is-active --quiet ananicy-cpp.service; then if systemctl is-active --quiet ananicy.service \
|| systemctl is-active --quiet ananicy-cpp.service
then
export GAMEMODERUN=0 export GAMEMODERUN=0
export PW_GAMEMODERUN_SLR="" export PW_GAMEMODERUN_SLR=""