Browse Source

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

patch-4
SomberNight 4 years ago
parent
commit
d3276ee950
No known key found for this signature in database GPG Key ID: B33B5F232C6271E9
  1. 4
      contrib/build-wine/unsign.sh

4
contrib/build-wine/unsign.sh

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

Loading…
Cancel
Save