Move up optirun_on=env

This commit is contained in:
Castro-Fidel 2020-05-27 01:36:04 +03:00
parent 337a639de9
commit ea48f6fbc1

@ -95,9 +95,9 @@ START_PORTWINE ()
{ {
sh "${link}"/port_update sh "${link}"/port_update
export PROTON_NO_FSYNC=0 export PROTON_NO_FSYNC=0
export optirun_on=env
if [ -x "`which nvidia-settings 2>/dev/null`" ] if [ -x "`which nvidia-settings 2>/dev/null`" ]
then then
export optirun_on=env
if [ -x "`which primusrun 2>/dev/null`" ] if [ -x "`which primusrun 2>/dev/null`" ]
then then
export optirun_on="primusrun" export optirun_on="primusrun"