From 2611c26398895c7cfca796c6c046bfe8859bb848 Mon Sep 17 00:00:00 2001 From: chacha <1000chacha0001@gmail.com> Date: Mon, 10 Apr 2023 23:55:45 +0200 Subject: [PATCH] Update 'Run.sh' --- Run.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Run.sh b/Run.sh index d019a16..8a0e4f9 100644 --- a/Run.sh +++ b/Run.sh @@ -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 '='