File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 88# 1. Via CLI: Run ./run.sh <path to game> [doorstop arguments] [game arguments]
99# 2. Via config: edit the options below and run ./run.sh without any arguments
1010
11- # 0 is false, 1 is true
11+ # Use POSIX-compatible way to get the directory of the executable
12+ a=" /$0 " ; a=${a%/* } ; a=${a#/ } ; a=${a:- .} ; BASEDIR=$( cd " $a " || exit ; pwd -P)
1213
1314# LINUX: name of Unity executable
1415# MACOS: name of the .app directory
@@ -18,6 +19,8 @@ executable_name=""
1819
1920# General Config Options
2021
22+ # 0 is false, 1 is true
23+
2124# Enable Doorstop?
2225enabled=" 1"
2326
@@ -82,9 +85,6 @@ if [ -z "${executable_name}" ] || [ ! -x "${executable_name}" ]; then
8285 exit 1
8386fi
8487
85- # Use POSIX-compatible way to get the directory of the executable
86- a=" /$0 " ; a=${a%/* } ; a=${a#/ } ; a=${a:- .} ; BASEDIR=$( cd " $a " || exit ; pwd -P)
87-
8888arch=" "
8989executable_path=" "
9090lib_extension=" "
You can’t perform that action at this time.
0 commit comments