1
0

build-wine/unsign.sh: allow using before files are uploaded publicly

This commit is contained in:
SomberNight
2021-06-17 12:12:11 +02:00
parent 52fc2f5adb
commit d3276ee950

View File

@@ -21,8 +21,12 @@ echo "Found $(ls dist/*.exe | wc -w) files to verify."
for mine in $(ls dist/*.exe); do
echo "---------------"
f=$(basename $mine)
echo "Downloading https://download.electrum.org/$version/$f"
wget -q https://download.electrum.org/$version/$f -O signed/$f
if test -f signed/$f; then
echo "Found file at signed/$f"
else
echo "Downloading https://download.electrum.org/$version/$f"
wget -q https://download.electrum.org/$version/$f -O signed/$f
fi
out="signed/stripped/$f"
# Remove PE signature from signed binary
osslsigncode remove-signature -in signed/$f -out $out > /dev/null 2>&1