Commit ea48f6fb authored by Mikhail Tergoev's avatar Mikhail Tergoev

Move up optirun_on=env

parent 337a639d
...@@ -95,9 +95,9 @@ START_PORTWINE () ...@@ -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"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment