diff --git a/steamtinkerlaunch b/steamtinkerlaunch index d5084cb3..09641596 100755 --- a/steamtinkerlaunch +++ b/steamtinkerlaunch @@ -7,7 +7,7 @@ PREFIX="/usr" PROGNAME="SteamTinkerLaunch" NICEPROGNAME="Steam Tinker Launch" -PROGVERS="v14.0.20240624-1" +PROGVERS="v14.0.20240712-1" PROGCMD="${0##*/}" PROGINTERNALPROTNAME="Proton-stl" SHOSTL="stl" @@ -10734,14 +10734,24 @@ function askSettings { --timeout-indicator=top \ "$GEOM" - case $? in + WAITREQRESULT=$? + + writelog "INFO" "${FUNCNAME[0]} - Wait Requester result was '$WAITREQRESULT'" + + case $WAITREQRESULT in 0) { + writelog "INFO" "${FUNCNAME[0]} - Selected $REQBUT - Starting $SETMENU" "$LAUNCHMENU" "$AID" } ;; - 1) writelog "INFO" "${FUNCNAME[0]} - Selected CANCEL - Starting game without opening the $SETMENU" + 1) writelog "INFO" "${FUNCNAME[0]} - Selected $BUT_SKIP - Starting game without opening the $SETMENU" editorSkipped ;; 70) writelog "INFO" "${FUNCNAME[0]} - TIMEOUT - Starting game without opening the $SETMENU" ;; + *) { + writelog "WARN" "${FUNCNAME[0]} - Wait Requester returned unknown exit code '${WAITREQRESULT}' - Defaulting to opening the $SETMENU" + "$LAUNCHMENU" "$AID" + } + ;; esac fi fi