Commit b0828193 authored by Mikhail Tergoev's avatar Mikhail Tergoev

###Scripts version 2013-2###

parent ccf6296b
...@@ -78,14 +78,14 @@ try_force_link_dir () { ...@@ -78,14 +78,14 @@ try_force_link_dir () {
try_download () { try_download () {
set -o pipefail set -o pipefail
wget -c -t 5 -T 20 "$1" --output-document="$2" 2>&1 | \ wget -c -t 1 -T 20 "$1" --output-document="$2" 2>&1 | \
sed -u 's/.* \([0-9]\+%\)\ \+\([0-9,.]\+.\) \(.*\)/\1\n#Downloading at \1\/, \2\/s, ETA \3/; s/^20[0-9][0-9].*/#Done./' | \ sed -u 's/.* \([0-9]\+%\)\ \+\([0-9,.]\+.\) \(.*\)/\1\n#Downloading at \1\/, \2\/s, ETA \3/; s/^20[0-9][0-9].*/#Done./' | \
zenity --progress --percentage=0 --title="Download $(basename $1)" --text=Starting... --auto-close --auto-kill --width=500 --height=90 zenity --progress --percentage=0 --title="Download $(basename $1)" --text=Starting... --auto-close --auto-kill --width=500 --height=90
[ "${PIPESTATUS[0]}" != 0 ] && print_error "failed to download $1. Scipping." && return 1 || return 0 [ "${PIPESTATUS[0]}" != 0 ] && print_error "failed to download $1. Scipping." && return 1 || return 0
} }
try_download_silent () { try_download_silent () {
wget -c -t 5 -T 20 "$1" --output-document="$2" wget -c -t 1 -T 20 "$1" --output-document="$2"
[ "$?" != 0 ] && print_error "failed to download $1. Scipping." && return 1 || return 0 [ "$?" != 0 ] && print_error "failed to download $1. Scipping." && return 1 || return 0
} }
...@@ -153,7 +153,7 @@ pw_vkbasalt_check () { ...@@ -153,7 +153,7 @@ pw_vkbasalt_check () {
if [ -z "${PW_VKBASALT_FFX_CAS}" ] ; then if [ -z "${PW_VKBASALT_FFX_CAS}" ] ; then
export PW_VKBASALT_FFX_CAS="0.7" export PW_VKBASALT_FFX_CAS="0.7"
fi fi
sed -ri "s/casSharpness = .*/casSharpness = ${PW_VKBASALT_FFX_CAS}/g" "${PORT_WINE_PATH}/data/vkBasalt.conf" sed -ri "s/casSharpness .*/casSharpness = ${PW_VKBASALT_FFX_CAS}/g" "${PORT_WINE_PATH}/data/vkBasalt.conf"
export VKBASALT_CONFIG_FILE="${PORT_WINE_PATH}/data/vkBasalt.conf" export VKBASALT_CONFIG_FILE="${PORT_WINE_PATH}/data/vkBasalt.conf"
else else
export DISABLE_VKBASALT=1 export DISABLE_VKBASALT=1
......
...@@ -73,6 +73,6 @@ UIMask = /usr/local/share/reshade/shaders/UIMask.fx ...@@ -73,6 +73,6 @@ UIMask = /usr/local/share/reshade/shaders/UIMask.fx
Vibrance = /usr/local/share/reshade/shaders/Vibrance.fx Vibrance = /usr/local/share/reshade/shaders/Vibrance.fx
Vignette = /usr/local/share/reshade/shaders/Vignette.fx Vignette = /usr/local/share/reshade/shaders/Vignette.fx
casSharpness=0.7 casSharpness = 0.7
toggleKey = Home toggleKey = Home
effects = FakeHDR:cas effects = FakeHDR:cas
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