GH Hosted: exe signing corrections
This commit is contained in:
BIN
.github/scripts/self-extracting-jar-creator.jar
vendored
Normal file
BIN
.github/scripts/self-extracting-jar-creator.jar
vendored
Normal file
Binary file not shown.
7
.github/scripts/sign-exe-in-zip-file.sh
vendored
7
.github/scripts/sign-exe-in-zip-file.sh
vendored
@@ -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
|
||||
Reference in New Issue
Block a user