Skip to content

Commit

Permalink
minor
Browse files Browse the repository at this point in the history
fix indentation
  • Loading branch information
zany130 committed Nov 10, 2022
1 parent 8dda5a9 commit 39ad6e8
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions steamtinkerlaunch
Original file line number Diff line number Diff line change
Expand Up @@ -7483,22 +7483,22 @@ function dlReShade {
}

function overrideReShadeVersion {
if [ "$RSOVRD" -eq 1 ]; then # This is meant to be the checkbox var
if [[ ! "$RSOVRVERS" = "$RSVERS" ]]; then
writelog "INFO" "${FUNCNAME[0]} - Overriding global ReShade version '$RSVERS' with '$RSOVRVERS'"
RSVERS="$RSOVRVERS"
else
writelog "SKIP" "${FUNCNAME[0]} - ReShade Override version and ReShade global version match - Not overriding"
if [ "$RSOVRD" -eq 1 ]; then # This is meant to be the checkbox var
if [[ ! "$RSOVRVERS" = "$RSVERS" ]]; then
writelog "INFO" "${FUNCNAME[0]} - Overriding global ReShade version '$RSVERS' with '$RSOVRVERS'"
RSVERS="$RSOVRVERS"
else
writelog "SKIP" "${FUNCNAME[0]} - ReShade Override version and ReShade global version match - Not overriding"
fi
else
writelog "SKIP" "${FUNCNAME[0]} - ReShade override is disabled - Skipping"
fi
else
writelog "SKIP" "${FUNCNAME[0]} - ReShade override is disabled - Skipping"
fi
}

# prepare reshade files if not found:
function prepareReshadeFiles {
overrideReShadeVersion
if [ "$DOWNLOAD_RESHADE" -eq 1 ]; then
overrideReShadeVersion
if [ "$DOWNLOAD_RESHADE" -eq 1 ]; then
writelog "INFO" "${FUNCNAME[0]} - DOWNLOAD_RESHADE enabled"
if [ ! -f "$D3D47DLDIR/$D3D47_32" ]; then dd
writelog "404" "${FUNCNAME[0]} - '$D3D47DLDIR/$D3D47_32' missing - downloading"
Expand Down

0 comments on commit 39ad6e8

Please sign in to comment.