diff --git a/lang/chinese.txt b/lang/chinese.txt index 8a98d5a2..e800c049 100644 --- a/lang/chinese.txt +++ b/lang/chinese.txt @@ -1182,3 +1182,7 @@ TT_ADDNSGA="Open menu to add a Non-Steam Game" TT_SHADERREPOS="Configure ReShade Shader Repositories" TT_UPSHADER="Update downloaded ReShade Shaders" NOTY_SLRMISSING="Could not find requested Steam Linux Runtime - May not be installed!" +NOTY_OTRPROTINVALID="One-Time Proton 'XXX' does not appear to be valid" +NOTY_OTRRUNDIRINVALID="One-Time Run Directory does not appear to be valid" +NOTY_OTREXEINVALID="One-Time Executable 'XXX' does not appear to be valid" +NOTY_OTREXEBLANK="One-Time Run Executable was not specified" diff --git a/lang/dutch.txt b/lang/dutch.txt index 948fc4b7..1e6fab1a 100644 --- a/lang/dutch.txt +++ b/lang/dutch.txt @@ -1182,3 +1182,7 @@ TT_ADDNSGA="Open menu to add a Non-Steam Game" TT_SHADERREPOS="Configure ReShade Shader Repositories" TT_UPSHADER="Update downloaded ReShade Shaders" NOTY_SLRMISSING="Could not find requested Steam Linux Runtime - May not be installed!" +NOTY_OTRPROTINVALID="One-Time Proton 'XXX' does not appear to be valid" +NOTY_OTRRUNDIRINVALID="One-Time Run Directory does not appear to be valid" +NOTY_OTREXEINVALID="One-Time Executable 'XXX' does not appear to be valid" +NOTY_OTREXEBLANK="One-Time Run Executable was not specified" diff --git a/lang/english.txt b/lang/english.txt index e7144f14..285d310d 100644 --- a/lang/english.txt +++ b/lang/english.txt @@ -1183,3 +1183,7 @@ TT_ADDNSGA="Open menu to add a Non-Steam Game" TT_SHADERREPOS="Configure ReShade Shader Repositories" TT_UPSHADER="Update downloaded ReShade Shaders" NOTY_SLRMISSING="Could not find requested Steam Linux Runtime - May not be installed!" +NOTY_OTRPROTINVALID="One-Time Proton 'XXX' does not appear to be valid" +NOTY_OTRRUNDIRINVALID="One-Time Run Directory does not appear to be valid" +NOTY_OTREXEINVALID="One-Time Executable 'XXX' does not appear to be valid" +NOTY_OTREXEBLANK="One-Time Run Executable was not specified" diff --git a/lang/englishUK.txt b/lang/englishUK.txt index 8950ef1e..2726a87e 100644 --- a/lang/englishUK.txt +++ b/lang/englishUK.txt @@ -1182,3 +1182,7 @@ TT_ADDNSGA="Open menu to add a Non-Steam Game" TT_SHADERREPOS="Configure ReShade Shader Repositories" TT_UPSHADER="Update downloaded ReShade Shaders" NOTY_SLRMISSING="Could not find requested Steam Linux Runtime - May not be installed!" +NOTY_OTRPROTINVALID="One-Time Proton 'XXX' does not appear to be valid" +NOTY_OTRRUNDIRINVALID="One-Time Run Directory does not appear to be valid" +NOTY_OTREXEINVALID="One-Time Executable 'XXX' does not appear to be valid" +NOTY_OTREXEBLANK="One-Time Run Executable was not specified" diff --git a/lang/french.txt b/lang/french.txt index 6ea73494..2638c79f 100644 --- a/lang/french.txt +++ b/lang/french.txt @@ -1182,3 +1182,7 @@ TT_ADDNSGA="Open menu to add a Non-Steam Game" TT_SHADERREPOS="Configure ReShade Shader Repositories" TT_UPSHADER="Update downloaded ReShade Shaders" NOTY_SLRMISSING="Could not find requested Steam Linux Runtime - May not be installed!" +NOTY_OTRPROTINVALID="One-Time Proton 'XXX' does not appear to be valid" +NOTY_OTRRUNDIRINVALID="One-Time Run Directory does not appear to be valid" +NOTY_OTREXEINVALID="One-Time Executable 'XXX' does not appear to be valid" +NOTY_OTREXEBLANK="One-Time Run Executable was not specified" diff --git a/lang/german.txt b/lang/german.txt index fb5c9327..9533d03b 100644 --- a/lang/german.txt +++ b/lang/german.txt @@ -1184,3 +1184,7 @@ TT_ADDNSGA="Open menu to add a Non-Steam Game" TT_SHADERREPOS="Configure ReShade Shader Repositories" TT_UPSHADER="Update downloaded ReShade Shaders" NOTY_SLRMISSING="Could not find requested Steam Linux Runtime - May not be installed!" +NOTY_OTRPROTINVALID="One-Time Proton 'XXX' does not appear to be valid" +NOTY_OTRRUNDIRINVALID="One-Time Run Directory does not appear to be valid" +NOTY_OTREXEINVALID="One-Time Executable 'XXX' does not appear to be valid" +NOTY_OTREXEBLANK="One-Time Run Executable was not specified" diff --git a/lang/italian.txt b/lang/italian.txt index 2f53054f..ba54ac47 100644 --- a/lang/italian.txt +++ b/lang/italian.txt @@ -1182,3 +1182,7 @@ TT_ADDNSGA="Open menu to add a Non-Steam Game" TT_SHADERREPOS="Configure ReShade Shader Repositories" TT_UPSHADER="Update downloaded ReShade Shaders" NOTY_SLRMISSING="Could not find requested Steam Linux Runtime - May not be installed!" +NOTY_OTRPROTINVALID="One-Time Proton 'XXX' does not appear to be valid" +NOTY_OTRRUNDIRINVALID="One-Time Run Directory does not appear to be valid" +NOTY_OTREXEINVALID="One-Time Executable 'XXX' does not appear to be valid" +NOTY_OTREXEBLANK="One-Time Run Executable was not specified" diff --git a/lang/polish.txt b/lang/polish.txt index 9e939e90..9ed7c538 100644 --- a/lang/polish.txt +++ b/lang/polish.txt @@ -1182,3 +1182,7 @@ TT_ADDNSGA="Open menu to add a Non-Steam Game" TT_SHADERREPOS="Configure ReShade Shader Repositories" TT_UPSHADER="Update downloaded ReShade Shaders" NOTY_SLRMISSING="Could not find requested Steam Linux Runtime - May not be installed!" +NOTY_OTRPROTINVALID="One-Time Proton 'XXX' does not appear to be valid" +NOTY_OTRRUNDIRINVALID="One-Time Run Directory does not appear to be valid" +NOTY_OTREXEINVALID="One-Time Executable 'XXX' does not appear to be valid" +NOTY_OTREXEBLANK="One-Time Run Executable was not specified" diff --git a/lang/russian.txt b/lang/russian.txt index d4b54a1a..824427cd 100644 --- a/lang/russian.txt +++ b/lang/russian.txt @@ -1182,3 +1182,7 @@ TT_ADDNSGA="Open menu to add a Non-Steam Game" TT_SHADERREPOS="Configure ReShade Shader Repositories" TT_UPSHADER="Update downloaded ReShade Shaders" NOTY_SLRMISSING="Could not find requested Steam Linux Runtime - May not be installed!" +NOTY_OTRPROTINVALID="One-Time Proton 'XXX' does not appear to be valid" +NOTY_OTRRUNDIRINVALID="One-Time Run Directory does not appear to be valid" +NOTY_OTREXEINVALID="One-Time Executable 'XXX' does not appear to be valid" +NOTY_OTREXEBLANK="One-Time Run Executable was not specified" diff --git a/steamtinkerlaunch b/steamtinkerlaunch index 84974ab6..8e7e887e 100755 --- a/steamtinkerlaunch +++ b/steamtinkerlaunch @@ -6,7 +6,7 @@ PREFIX="/usr" PROGNAME="SteamTinkerLaunch" NICEPROGNAME="Steam Tinker Launch" -PROGVERS="v14.0.20230612-1" +PROGVERS="v14.0.20230612-2" PROGCMD="${0##*/}" SHOSTL="stl" GHURL="https://github.com" @@ -10707,7 +10707,7 @@ function commandlineOneTimeRun { fi # Ensure EXE is given and that directory to run the exe in is valid, and also ensure we have a valid Proton version to run the exe with - if [ -n "$OTEXE" ]; then # Valid executable required (Windows executable or Linux executable/file/etc, not really an EXE for Linux but oh well - Naming is hard!) + if [ -n "$OTEXE" ] && [ -f "$OTEXE" ]; then # Valid executable required (Windows executable or Linux executable/file/etc, not really an EXE for Linux but oh well - Naming is hard!) if [ "$USEEXEDIR" -eq 1 ]; then # Use EXE dir as working dir OTRUNDIR="$( dirname "$OTEXE" )" writelog "INFO" "${FUNCNAME[0]} - Using executable directory '$OTRUNDIR' as working directory" @@ -10836,12 +10836,24 @@ function commandlineOneTimeRun { fi else writelog "ERROR" "${FUNCNAME[0]} - Could not find valid Proton to launch custom executable with" + notiShow "$( strFix "$NOTY_OTRPROTINVALID" "$OTPROTON" )" + echo "Could not find valid Proton to launch custom executable with ('$OTPROTON') -- Is it definitely installed?" fi else writelog "WARN" "${FUNCNAME[0]} - Working directory '$OTRUNDIR' is no valid directory -- Cannot continue" + notiShow "$( strFix "$NOTY_OTRRUNDIRINVALID" "$OTRUNDIR" )" + echo "Working directory '$OTRUNDIR' doesn't appear to be valid -- Does it definitely exist and have correct permissions?" + fi else - writelog "ERROR" "${FUNCNAME[0]} - One-Time Run command is not defined -- Cannot continue" + writelog "ERROR" "${FUNCNAME[0]} - One-Time Run command '$OTEXE' is not valid -- Cannot continue" + if [ -z "$OTEXE" ]; then + notiShow "$NOTY_OTREXEBLANK" "X" + echo "Selected One-Time Run executable appears to be blank: '$OTEXE'" + else + notiShow "$( strFix "$NOTY_OTREXEINVALID" "$OTEXE" )" + echo "Selected One-Time Run executable '$OTEXE' doesn't appear to be valid." + fi fi }