GH Hosted: exe signing corrections

This commit is contained in:
aboyko
2023-07-13 18:35:49 -04:00
parent 966c1c131f
commit da09c54c02
3 changed files with 7 additions and 4 deletions

Binary file not shown.

View File

@@ -1,7 +1,8 @@
file=$1
sign_script=$2
filename="$(basename -- $file)"
workdir=`pwd`
echo "****************************************************************"
echo "*** Processing : ${file}"
echo "****************************************************************"
@@ -9,5 +10,7 @@ destination_folder_name=extracted_${filename}
unzip -q $file -d ./${destination_folder_name}
sts_folder=`find ./${destination_folder_name} -maxdepth 1 -type d -name 'sts-*' -print -quit`
echo "Found folder: ${sts_folder}"
$sign_script ./${sts_folder}/SpringToolSuite4.exe ${sts_folder}/SpringToolSuite4.exe
${workdir}/.github/scripts/sign-exe.sh ./${sts_folder}/SpringToolSuite4.exe ${sts_folder}/SpringToolSuite4.exe
zip -r -q $file ./${destination_folder_name}
java -jar ${workdir}/.github/scripts/self-extracting-jar-creator.jar $file
ls