From 649404c2d4c89054aada6e23086f396007e48efd Mon Sep 17 00:00:00 2001 From: v4n <105587619+v4n00@users.noreply.github.com> Date: Wed, 16 Apr 2025 14:54:59 +0300 Subject: [PATCH] fix: sanitize file name of commas (fixes #48) (#49) --- h2mm | 3 +++ version | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/h2mm b/h2mm index f94dc95..306a897 100755 --- a/h2mm +++ b/h2mm @@ -886,6 +886,9 @@ function mod_install() { [[ ! -f "$file" ]] && { log ERROR "Mod file $file does not exist."; exit 1; } done + # sanitize mod name so it doesn't contain commas + mod_name=$(echo "$mod_name" | sed 's/,//g') + # verify duplicate mod names if [[ $has_nexus_mod_arguments == false ]]; then get_mod_name_and_index --do-not-exit diff --git a/version b/version index 4b9fcbe..cb0c939 100644 --- a/version +++ b/version @@ -1 +1 @@ -0.5.1 +0.5.2