Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
sonic2kk committed Jun 16, 2024
1 parent e87f67b commit 8017049
Showing 1 changed file with 3 additions and 24 deletions.
27 changes: 3 additions & 24 deletions steamtinkerlaunch
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
PREFIX="/usr"
PROGNAME="SteamTinkerLaunch"
NICEPROGNAME="Steam Tinker Launch"
PROGVERS="v14.0.20240516-2 (customcmd-slr-ver-2)"
PROGVERS="v14.0.20240616-2 (customcmd-slr-ver-2)"
PROGCMD="${0##*/}"
PROGINTERNALPROTNAME="Proton-stl"
SHOSTL="stl"
Expand Down Expand Up @@ -7261,18 +7261,7 @@ function extProtonRun {
else
notiShow "$( strFix "$NOTY_CUSTPROG_REG" "$CUSTPROGNAME" )"
if [ -n "${RUNEXTPROGRAMARGS[0]}" ]; then
writelog "INFO" "${FUNCNAME[0]} - '${RUNEXTPROGRAMARGS[0]}'"
writelog "INFO" "${FUNCNAME[0]} - '${RUNEXTPROGRAMARGS[1]}'"
writelog "INFO" "${FUNCNAME[0]} - '${RUNEXTPROGRAMARGS[2]}'"
writelog "INFO" "${FUNCNAME[0]} - '${RUNEXTPROGRAMARGS[3]}'"
writelog "INFO" "${FUNCNAME[0]} - '${RUNEXTPROGRAMARGS[4]}'"
writelog "INFO" "${FUNCNAME[0]} - '${RUNEXTPROGRAMARGS[5]}'"
writelog "INFO" "${FUNCNAME[0]} - '${RUNEXTPROGRAMARGS[6]}'"
writelog "INFO" "${FUNCNAME[0]} - '${RUNEXTPROGRAMARGS[7]}'"
writelog "INFO" "${FUNCNAME[0]} - '${RUNEXTPROGRAMARGS[8]}'"
writelog "INFO" "${FUNCNAME[0]} - '${RUNEXTPROGRAMARGS[9]}'"
writelog "INFO" "${FUNCNAME[0]} - '${RUNEXTPROGRAMARGS[10]}'"
# writelog "INFO" "${FUNCNAME[0]} - \"${RUNEXTPROGRAMARGS[*]}\" \"$RUNPROTON\" run \"$PROGRAM\""
writelog "INFO" "${FUNCNAME[0]} - \"${RUNEXTPROGRAMARGS[*]}\" \"$RUNPROTON\" run \"$PROGRAM\""
"${RUNEXTPROGRAMARGS[@]}" "$RUNPROTON" waitforexitandrun "$PROGRAM" 2>&1 | tee "$STLSHM/${FUNCNAME[0]}.log"
else
"$RUNPROTON" run "$PROGRAM" 2>&1 | tee "$STLSHM/${FUNCNAME[0]}.log"
Expand Down Expand Up @@ -12711,19 +12700,9 @@ function launchCustomProg {
CUSTOMCMD="$WICO"
fi

# TODO replace with GUI option
__DEBUG_CUSTCMD_SLR=1

# if [ "$__DEBUG_EXTPROTRUN_SLR" -eq 1 ]; Then
# writelog "INFO" "${FUNCNAME[0]} - Running custom command with Proton SLR"
# setSLRReap

# if [ -n "${SLRCMD[0]}" ]; then
# writelog "INFO" "${FUNCNAME[0]} - Appending SLR to "
# else
# writelog "WARN" "${FUNCNAME[0]} - Could not find SLR! extProtonRun will NOT use "
# fi
# fi

if [ -z "$CUSTOMCMD" ] || [[ "$CUSTOMCMD" =~ ${DUMMYBIN}$ ]]; then
writelog "INFO" "${FUNCNAME[0]} - CUSTOMCMD variable is empty - opening file requester"
fixShowGnAid
Expand Down

0 comments on commit 8017049

Please sign in to comment.