From 47e51b6615cf94c031efbe512f00fb8c3578ef21 Mon Sep 17 00:00:00 2001 From: Aria Moradi Date: Sun, 6 Jun 2021 03:13:09 +0430 Subject: [PATCH] fix naming --- scripts/windows-bundler.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/windows-bundler.sh b/scripts/windows-bundler.sh index 5007869..debc47a 100755 --- a/scripts/windows-bundler.sh +++ b/scripts/windows-bundler.sh @@ -22,9 +22,9 @@ jre_dir="jdk8u292-b10-jre" echo "creating windows bundle" -jar=$(ls ../server/build/Tachidesk-*.jar) +jar=$(ls ../server/build/*.jar | tail -n1) jar_name=$(echo $jar | cut -d'/' -f4) -release_name=$(echo $jar_name | cut -d'.' -f4 --complement)-$arch +release_name=$(echo $jar_name | sed 's/.jar//')-$arch # make release dir