Skip to content

Commit

Permalink
kick the can down the road
Browse files Browse the repository at this point in the history
don't feel like dealing with this now,
and not relevant to this PR, but I
want to put them somewhere \:P
  • Loading branch information
sonic2kk committed Jun 16, 2024
1 parent db0cabb commit a899fee
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions steamtinkerlaunch
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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" )"
Expand Down

0 comments on commit a899fee

Please sign in to comment.