Skip to content

Commit

Permalink
Special K: Fix SpecialK_enabled.txt losing tracked SpecialK DLLs
Browse files Browse the repository at this point in the history
  • Loading branch information
sonic2kk committed Sep 24, 2023
1 parent 9576827 commit 2c1a16c
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion 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.20230925-4 (spek-reshade-vers)"
PROGVERS="v14.0.20230925-5 (spek-reshade-vers)"
PROGCMD="${0##*/}"
PROGINTERNALPROTNAME="Proton-stl"
SHOSTL="stl"
Expand Down Expand Up @@ -9314,6 +9314,11 @@ function useSpecialK {
cp "${SPEKSRC//dll/pdb}" "$SPEKDDIR"
echo "$SPEKDDIR/$SPEKPDB" >> "$SPEKENA"
fi
elif [ "$SPEKDLLCONFLICTFOUND" -eq 0 ] && [ "$SHOULDINSTALLSPEK" -eq 0 ]; then
# In this scenario, SpecialK is already installed so we don't need to install it
# So write out the DLL name to the SPEKENA file to ensure we don't end up with a blank file
# We can't always write out to the file unconditionally as SPEKDLLCONFLICTFOUND means SpecialK wasn't installed
echo "$SPEKDST" >> "$SPEKENA"
elif [ "$SPEKDLLCONFLICTFOUND" -eq 1 ]; then
writelog "ERROR" "${FUNCNAME[0]} - Could not install SpecialK -- DLL naming conflict was found"
fi
Expand Down

0 comments on commit 2c1a16c

Please sign in to comment.