forked from CastroFidel/PortWINE
Fix gamemode in flatpak
In flatpak gamemode is built without tools, which includes gamemoded, so the condition does not work
This commit is contained in:
parent
1ebf5e1f0f
commit
1a6bb21089
@ -344,6 +344,10 @@ d3d11 d3d10 d3d10core d3d10_1 d3d9 d3d8 dxgi wined3d vulkan-1"
|
||||
PW_GAMEMODERUN_SLR="gamemoderun"
|
||||
systemctl enable --now --user gamemoded &>/dev/null
|
||||
print_info "Gamemod will be launched."
|
||||
elif check_flatpak ; then
|
||||
export GAMEMODERUN=1
|
||||
PW_GAMEMODERUN_SLR="gamemoderun"
|
||||
print_info "Gamemod will be launched."
|
||||
elif [[ "$PW_USE_RUNTIME" == 1 ]] ; then
|
||||
export GAMEMODERUN=1
|
||||
if ! pidof gamemoded &>/dev/null ; then
|
||||
|
Loading…
Reference in New Issue
Block a user