Make setup.exe differ less

This commit is contained in:
Johann Bauer 2017-12-10 18:51:03 +01:00
parent b88fa2046c
commit 4f747e78e5
3 changed files with 5 additions and 4 deletions

View File

@ -45,6 +45,7 @@ popd
pushd electrum
VERSION=`git describe --tags`
echo "Last commit: $VERSION"
find -exec touch -d '2000-11-11T11:11:11+00:00' {} +
popd
rm -rf $WINEPREFIX/drive_c/electrum
@ -69,7 +70,7 @@ wine "C:/python$PYTHON_VERSION/scripts/pyinstaller.exe" --noconfirm --ascii --na
# set timestamps in dist, in order to make the installer reproducible
pushd dist
find -type f -exec touch -d '2000-11-11T11:11:11+00:00' {} +
find -exec touch -d '2000-11-11T11:11:11+00:00' {} +
popd
# build NSIS installer

View File

@ -15,7 +15,7 @@ $here/prepare-hw.sh || exit 1
echo "Resetting modification time in C:\Python..."
# (Because of some bugs in pyinstaller)
pushd /opt/wine64/drive_c/python*
find -type f -exec touch -d '2000-11-11T11:11:11+00:00' {} +
find -exec touch -d '2000-11-11T11:11:11+00:00' {} +
popd
ls -l /opt/wine64/drive_c/python*

View File

@ -72,7 +72,7 @@
!define MUI_ABORTWARNING
!define MUI_ABORTWARNING_TEXT "Are you sure you wish to abort the installation of ${PRODUCT_NAME}?"
!define MUI_ICON "..\..\icons\electrum.ico"
!define MUI_ICON "tmp\electrum\icons\electrum.ico"
;--------------------------------
;Pages
@ -168,4 +168,4 @@ Section "Uninstall"
DeleteRegKey HKCU "Software\Classes\bitcoin"
DeleteRegKey HKCU "Software\${PRODUCT_NAME}"
DeleteRegKey HKCU "${PRODUCT_UNINST_KEY}"
SectionEnd
SectionEnd