forked from CastroFidel/PortWINE
Move up optirun_on=env
This commit is contained in:
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"
|
||||||
|
Loading…
Reference in New Issue
Block a user