From a899feef5b9903cf8f88b554f0b7e970bad15562 Mon Sep 17 00:00:00 2001 From: Eamonn Rea Date: Sun, 16 Jun 2024 04:42:00 +0100 Subject: [PATCH] kick the can down the road don't feel like dealing with this now, and not relevant to this PR, but I want to put them somewhere \:P --- steamtinkerlaunch | 2 ++ 1 file changed, 2 insertions(+) diff --git a/steamtinkerlaunch b/steamtinkerlaunch index 03e7f9f3..6db16b2f 100755 --- a/steamtinkerlaunch +++ b/steamtinkerlaunch @@ -12220,6 +12220,7 @@ function OneTimeRunReset { } # Called when a user passes arguments for onetimerun +# TODO a way to use default game Proton version, either if '--proton' is not supplied or if '--proton="default"'? function commandlineOneTimeRun { setOneTimeRunVars "$1" # Get incoming arguments @@ -12273,6 +12274,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 + # TODO refactor to flatten 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" )"