Skip to content

Commit

Permalink
Show notifier when requested Steam Linux Runtime is unavailable (#832)
Browse files Browse the repository at this point in the history
* Show notifier when requested Steam Linux Runtime is unavailable

* version bump
  • Loading branch information
sonic2kk authored Jun 10, 2023
1 parent 6525411 commit 880e9d6
Show file tree
Hide file tree
Showing 10 changed files with 13 additions and 2 deletions.
1 change: 1 addition & 0 deletions lang/chinese.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1181,3 +1181,4 @@ TT_MO="Launch ModOrganizer 2 in Standalone Mode"
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!"
1 change: 1 addition & 0 deletions lang/dutch.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1181,3 +1181,4 @@ TT_MO="Launch ModOrganizer 2 in Standalone Mode"
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!"
1 change: 1 addition & 0 deletions lang/english.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1182,3 +1182,4 @@ TT_MO="Launch ModOrganizer 2 in Standalone Mode"
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!"
1 change: 1 addition & 0 deletions lang/englishUK.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1181,3 +1181,4 @@ TT_MO="Launch ModOrganizer 2 in Standalone Mode"
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!"
1 change: 1 addition & 0 deletions lang/french.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1181,3 +1181,4 @@ TT_MO="Launch ModOrganizer 2 in Standalone Mode"
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!"
1 change: 1 addition & 0 deletions lang/german.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1183,3 +1183,4 @@ TT_MO="Launch ModOrganizer 2 in Standalone Mode"
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!"
1 change: 1 addition & 0 deletions lang/italian.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1181,3 +1181,4 @@ TT_MO="Launch ModOrganizer 2 in Standalone Mode"
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!"
1 change: 1 addition & 0 deletions lang/polish.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1181,3 +1181,4 @@ TT_MO="Launch ModOrganizer 2 in Standalone Mode"
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!"
1 change: 1 addition & 0 deletions lang/russian.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1181,3 +1181,4 @@ TT_MO="Launch ModOrganizer 2 in Standalone Mode"
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!"
6 changes: 4 additions & 2 deletions 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.20230611-1"
PROGVERS="v14.0.20230611-2"
PROGCMD="${0##*/}"
SHOSTL="stl"
GHURL="https://github.com"
Expand Down Expand Up @@ -19487,8 +19487,10 @@ function setSLRReap {
fi
fi

if [ -n "${SLRCMD[0]}" ]; then
if [ -n "${SLRCMD[*]}" ]; then
writelog "INFO" "${FUNCNAME[0]} - Adding SLR '${SLRCMD[*]}' to the launch command"
else
notiShow "$NOTY_SLRMISSING" "X"
fi
else
writelog "INFO" "${FUNCNAME[0]} - USESLR and HAVESLR not defined -- Probably shouldn't happen?"
Expand Down

0 comments on commit 880e9d6

Please sign in to comment.