From 2284a561e3ea734aa8cffd7f3afc3f0e8bc28e56 Mon Sep 17 00:00:00 2001 From: Eamonn Rea Date: Fri, 17 Nov 2023 02:17:46 +0000 Subject: [PATCH] SpecialK: Fix existing DLL check --- steamtinkerlaunch | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/steamtinkerlaunch b/steamtinkerlaunch index 2ce716ea..d60ca2ea 100755 --- a/steamtinkerlaunch +++ b/steamtinkerlaunch @@ -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" @@ -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"