fix: sanitize file name of commas (fixes #48) (#49)

This commit is contained in:
v4n
2025-04-16 14:54:59 +03:00
committed by GitHub
parent 737fa01c11
commit 649404c2d4
2 changed files with 4 additions and 1 deletions
+3
View File
@@ -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
+1 -1
View File
@@ -1 +1 @@
0.5.1
0.5.2