File tree Expand file tree Collapse file tree 1 file changed +5
-7
lines changed
Expand file tree Collapse file tree 1 file changed +5
-7
lines changed Original file line number Diff line number Diff line change 11#! /bin/sh
22# Doorstop start script
3- #
3+ #
44# Run the script to start the game with Doorstop enabled
55#
66# There are two ways to use this script
77#
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
12-
1311# LINUX: name of Unity executable
1412# MACOS: name of the .app directory
1513executable_name=" "
@@ -19,6 +17,7 @@ executable_name=""
1917# General Config Options
2018
2119# Enable Doorstop?
20+ # 0 is false, 1 is true
2221enabled=" 1"
2322
2423# Path to the assembly to load and execute
@@ -135,7 +134,7 @@ abs_path() {
135134}
136135
137136_readlink () {
138- # relative links with readlink (without -f) do not preserve the path info
137+ # relative links with readlink (without -f) do not preserve the path info
139138 ab_path=" $( abs_path " $1 " ) "
140139 link=" $( readlink " ${ab_path} " ) "
141140 case $link in
@@ -145,11 +144,10 @@ _readlink() {
145144 echo " $link "
146145}
147146
148-
149147resolve_executable_path () {
150148 e_path=" $( abs_path " $1 " ) "
151-
152- while [ -L " ${e_path} " ]; do
149+
150+ while [ -L " ${e_path} " ]; do
153151 e_path=$( _readlink " ${e_path} " ) ;
154152 done
155153 echo " ${e_path} "
You can’t perform that action at this time.
0 commit comments