Skip to content

Commit

Permalink
fix missing hardcoded reshade versions
Browse files Browse the repository at this point in the history
  • Loading branch information
zany130 committed Nov 8, 2022
1 parent 43bb296 commit a279216
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions steamtinkerlaunch
Original file line number Diff line number Diff line change
Expand Up @@ -5496,6 +5496,7 @@ function MainMenu {
writelog "INFO" "${FUNCNAME[0]} - Preparing to load Main Menu"

createDLSpekList
createDLReShadeList
prepareMenu "$@"

setShowPic
Expand Down Expand Up @@ -7431,6 +7432,11 @@ function installd3d47dll {
fi
}

function createDLReShadeList {
RESHADEVERSIONS="5.4.2!5.0.0!4.2.0!3.5.3" # List some hardcoded reshade versions to selct for the override
#TODO replace with a auto poplating list based on the last few releses
}

function dlReShade {
if [ -z "$1" ]; then
DLVERS="$RSVERS"
Expand Down Expand Up @@ -7467,8 +7473,6 @@ function dlReShade {

function overrideReShadeVersion
{
RESHADEVERSIONS="5.4.2!5.0.0!4.2.0!3.5.3" # List some hardcoded reshade versions to selct for the override #TODO replace with a auto poplating list based on the last few releses

if ! [ "$RSVERSOVRD" -eq "0" ]; then
writelog "INFO" "Overriding ReShade version - Set to '$RSVERSOVRD'"
RSVERS="$RSVERSOVRD"
Expand Down

0 comments on commit a279216

Please sign in to comment.