Sign SpringToolSuite4.exe rather than SpringToolsForEclipse.exe

This commit is contained in:
aboyko
2025-04-17 10:41:12 -04:00
parent 9c95da9c58
commit 8e8df212b0

View File

@@ -17,8 +17,8 @@ unzip -q $file -d ./${destination_folder_name}
echo "Successfully extracted ${filename}"
sts_folder=`find ./${destination_folder_name} -maxdepth 1 -type d -name 'sts-*' -print -quit`
echo "Found STS distro folder: ${sts_folder}"
echo "About to sign win exe file: ${sts_folder}/SpringToolsForEclipse.exe (id = ${id})"
$sign_script ${sts_folder}/SpringToolsForEclipse.exe ${sts_folder}/SpringToolsForEclipse.exe "${id}-${filename%.*}" 30 900
echo "About to sign win exe file: ${sts_folder}/SpringToolSuite4.exe (id = ${id})"
$sign_script ${sts_folder}/SpringToolSuite4.exe ${sts_folder}/SpringToolSuite4.exe "${id}-${filename%.*}" 30 900
echo "Adding to zip contents of a folder ${destination_folder_name}"
cd ${destination_folder_name}
zip -r -q ../$file .