From 3c6238f8d261318743265df5b15b551577557f79 Mon Sep 17 00:00:00 2001 From: v4n <105587619+v4n00@users.noreply.github.com> Date: Fri, 21 Feb 2025 16:16:42 +0200 Subject: [PATCH] fix: show variants better --- h2mm | 4 ++-- version | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/h2mm b/h2mm index 8491b94..79a87fd 100755 --- a/h2mm +++ b/h2mm @@ -1,6 +1,6 @@ #!/usr/bin/env bash -VERSION="0.3.7" +VERSION="0.3.8" # --- Globals --- @@ -692,7 +692,7 @@ function mod_install() { if [[ ${#filtered_dirs[@]} -gt 1 ]]; then echo -e "Multiple mod variants found for mod ${mod_name}." >&2 for i in "${!filtered_dirs[@]}"; do - echo "$((i + 1)). ${filtered_dirs[$i]}" + echo "$((i + 1)). $(basename ${filtered_dirs[$i]})" >&2 done # prompt user to choose diff --git a/version b/version index 0f82685..6678432 100644 --- a/version +++ b/version @@ -1 +1 @@ -0.3.7 +0.3.8