From d25eb444c7b107815e6b0354f470b3235d678f1a Mon Sep 17 00:00:00 2001 From: the-sane <3657071+the-sane@users.noreply.github.com> Date: Tue, 9 Jan 2024 16:46:51 -0500 Subject: [PATCH] Make config dir if necessary --- lug-helper.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lug-helper.sh b/lug-helper.sh index 135a0fb..25040a4 100755 --- a/lug-helper.sh +++ b/lug-helper.sh @@ -2593,6 +2593,9 @@ if [ "$is_firstrun" = "true" ]; then install_game fi # Store the first run state for subsequent launches + if [ ! -d "$conf_dir/$conf_subdir" ]; then + mkdir -p "$conf_dir/$conf_subdir" + fi echo "false" > "$conf_dir/$conf_subdir/$firstrun_conf" fi