Update 'Run.sh'

This commit is contained in:
2023-04-10 23:55:26 +02:00
parent eb789dc4ca
commit 556fef5218

2
Run.sh
View File

@@ -1,8 +1,8 @@
#!/bin/bash
SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
OUTPUT_DIR="$2"
CFG_FILE="$3"
DEFAULT_CFG_FILE=UT2004.ini
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 '='