Skip to content

Commit

Permalink
SpecialK: Fix existing DLL check
Browse files Browse the repository at this point in the history
  • Loading branch information
sonic2kk committed Nov 17, 2023
1 parent 2d0edb4 commit 2284a56
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions steamtinkerlaunch
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
PREFIX="/usr"
PROGNAME="SteamTinkerLaunch"
NICEPROGNAME="Steam Tinker Launch"
PROGVERS="v14.0.20231117-7 (spek-custom)"
PROGVERS="v14.0.20231117-8 (spek-custom)"
PROGCMD="${0##*/}"
PROGINTERNALPROTNAME="Proton-stl"
SHOSTL="stl"
Expand Down Expand Up @@ -9874,14 +9874,14 @@ function dlSpecialK {
POSSIBLECUSTOMSPEKEXE="$( find "$SPEKDLDIR/$SPEKVERS" -type f -name "*.exe" -print -quit )"
POSSIBLECUSTOMSPEKEXE="$( realpath "$POSSIBLECUSTOMSPEKEXE" )"

if [ -f "$SPEK64SRC" ] && [ -f "$SPEK64SRC" ]; then
if [ -f "$SPEK32SRC" ] && [ -f "$SPEK64SRC" ]; then
writelog "INFO" "${FUNCNAME[0]} - Found '${SPEK}32.dll' and '${SPEK}64.dll' -- Using this as SpecialK version"
elif [ -f "$POSSIBLECUSTOMSPEKEXE" ]; then
writelog "INFO" "${FUNCNAME[0]} - Found possible SpecialK EXE '$POSSIBLECUSTOMSPEKEXE' -- Attempting to extract SpecialK DLLs from this executable"
extractSpecialKEXE "$POSSIBLECUSTOMSPEKEXE"
fi
else
if [ ! -f "$SPEK32BASE" ] && [ ! -f "$SPEK32BASE" ]; then
if [ ! -f "$SPEK32SRC" ] && [ ! -f "$SPEK64SRC" ]; then
notiShow "$(strFix "$NOTY_DLCUSTOMPROTON" "$SPEK")"
dlCheck "$SPEKDLURL" "$SPEKDL" "X" "Downloading '$SPEKDLURL' to '$SPEKDLDIR'"
extSpek "$SPEKDL"
Expand Down

0 comments on commit 2284a56

Please sign in to comment.