electrum

Electrum Bitcoin wallet
git clone https://git.parazyd.org/electrum
Log | Files | Refs | Submodules

commit 8b66d7c8ae0e0df84c7f02dc624def69dbbd78aa
parent 412ce18201e6a6781d836fad1419284ad22db60f
Author: ThomasV <thomasv@electrum.org>
Date:   Tue, 28 Nov 2017 18:52:36 +0100

windows builds: set timestamps before calling makensis

Diffstat:
Mcontrib/build-wine/build-electrum-git.sh | 8+++++++-
1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/contrib/build-wine/build-electrum-git.sh b/contrib/build-wine/build-electrum-git.sh @@ -64,9 +64,14 @@ cd .. rm -rf dist/ -# build standalone version +# build standalone and portable versions wine "C:/python$PYTHON_VERSION/scripts/pyinstaller.exe" --noconfirm --ascii --name $NAME_ROOT-$VERSION -w deterministic.spec +# set timestamps in dist, in order to make the installer reproducible +pushd dist +find -type f -exec touch -d '2000-01-1 18:00:16' {} + +popd + # build NSIS installer # $VERSION could be passed to the electrum.nsi script, but this would require some rewriting in the script iself. wine "$WINEPREFIX/drive_c/Program Files (x86)/NSIS/makensis.exe" /DPRODUCT_VERSION=$VERSION electrum.nsi @@ -76,3 +81,4 @@ mv electrum-setup.exe $NAME_ROOT-$VERSION-setup.exe cd .. echo "Done." +md5sum dist/electrum*exe