forked from CastroFidel/PortWINE
		
	###Scripts version 2013-2###
This commit is contained in:
		| @@ -78,14 +78,14 @@ try_force_link_dir () { | ||||
|  | ||||
| try_download () { | ||||
|     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./' | \ | ||||
|     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 | ||||
| } | ||||
|  | ||||
| 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 | ||||
| } | ||||
|  | ||||
| @@ -153,7 +153,7 @@ pw_vkbasalt_check () { | ||||
|         if [ -z "${PW_VKBASALT_FFX_CAS}" ] ; then | ||||
|             export PW_VKBASALT_FFX_CAS="0.7"  | ||||
|         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" | ||||
|     else | ||||
|         export DISABLE_VKBASALT=1 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user