Update debug and vars scripts

This commit is contained in:
Castro-Fidel
2019-11-29 23:02:35 +03:00
parent f9a03c4fcd
commit 97f0c1e215
17 changed files with 143 additions and 233 deletions

View File

@ -1,5 +1,5 @@
#!/bin/bash
# Author: Tergoev M.A.
# Author: PortWINE-Linux.ru
########################################################################
sszen() {
zenity --progress --title="Settings..." --text="Updating start parameters" --pulsate --auto-close --auto-kill --width=450
@ -42,10 +42,8 @@ cat > "${link}/start" <<EOF
. "\$(dirname \$(readlink -f "\$0"))/runlib"
xsd=\`zenity --title "\${port_start1}" --text "\${port_start2}" --list --radiolist --height=260 \\
--column="\${inst_set}" --column "\${port_start3}" \\
FALSE "\${port_start4}" \\
TRUE "\${port_start8}" \\
FALSE "\${port_start6} (\${port_start4})" \\
FALSE "\${port_start6} (DXVK)" \`
TRUE "\${port_start4}" \\
FALSE "\${port_start8}" \`
if [ \$? -eq 1 ];then exit 1; fi
case \$xsd in
@ -55,18 +53,6 @@ case \$xsd in
OPENGL_SET
"\${optirun_on}" "\${WINELOADER}" "\${gamestart}" "\${launch_parameters}" ;;
"\${port_start6} (\${port_start4})")
START_PORTWINE
WINE_DX_TO_OPENGL
OPENGL_SET
. "\${link}/debug" ;;
"\${port_start6} (DXVK)")
START_PORTWINE
WINE_DX_TO_VULKAN
VULKAN_SET
. "\${link}/debug" ;;
"\${port_start8}")
START_PORTWINE
WINE_DX_TO_VULKAN