forked from CastroFidel/PortWINE
Scripts version 2258
This commit is contained in:
@ -318,7 +318,9 @@ start_portwine () {
|
||||
export int_xneur=1
|
||||
fi
|
||||
|
||||
if [[ "$PW_USE_GAMEMODE" = "1" ]] ; then
|
||||
if check_gamescope_session ; then
|
||||
export PW_GAMEMODERUN_SLR=""
|
||||
elif [[ "$PW_USE_GAMEMODE" = "1" ]] ; then
|
||||
if command -v gamemoded &>/dev/null ; then
|
||||
export GAMEMODERUN=1
|
||||
PW_GAMEMODERUN_SLR="gamemoderun"
|
||||
@ -552,8 +554,6 @@ start_portwine () {
|
||||
|
||||
if [[ "${PW_WINE_CPU_TOPOLOGY}" != "disabled" ]] ; then
|
||||
export WINE_CPU_TOPOLOGY="${PW_WINE_CPU_TOPOLOGY}"
|
||||
else
|
||||
unset WINE_CPU_TOPOLOGY
|
||||
fi
|
||||
|
||||
for try_cp_dll_from_wine in "ntdll.dll" "vulkan-1.dll" "winevulkan.dll" "amd_ags_x64.dll" "ir50_32.dll" ; do
|
||||
@ -717,7 +717,7 @@ export -f pw_run
|
||||
|
||||
###MAIN###
|
||||
if [[ $(id -u) -eq 0 ]] ; then
|
||||
yad_error "Do not run the script from the superuser!"
|
||||
echo "Do not run the script from the superuser!"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
Reference in New Issue
Block a user