Update 'Run.sh'

This commit is contained in:
2023-04-11 00:25:05 +02:00
parent ca5f86cd92
commit f466700f11

2
Run.sh
View File

@@ -2,7 +2,7 @@
SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
OUTPUT_DIR="$2"
DEFAULT_CFG_FILE=UT2004.ini
CFG_FILE="{$3:-$DEFAULT_CFG_FILE}"
CFG_FILE="${3:-$DEFAULT_CFG_FILE}"
function add_iniKeyEx() {
crudini --set $OUTPUT_DIR/System/$1 $2 __$3 $4
# Warning: ugly hack with sed to allow multiple key instances + to remove space around '='