diff --git a/contrib/build-wine/build-electrum-git.sh b/contrib/build-wine/build-electrum-git.sh index 7e0932660549..3e3f8d7aa9e0 100755 --- a/contrib/build-wine/build-electrum-git.sh +++ b/contrib/build-wine/build-electrum-git.sh @@ -85,9 +85,7 @@ popd info "building NSIS installer" # $VERSION could be passed to the electrum.nsi script, but this would require some rewriting in the script itself. -# Chop off 'v' -NSI_VERSION=$(python3 -c "print('$VERSION'[1:])") -makensis -DPRODUCT_VERSION=$NSI_VERSION electrum.nsi +makensis -DPRODUCT_VERSION=$VERSION electrum.nsi cd dist mv $NAME_ROOT-setup.exe $NAME_ROOT-$VERSION-setup.exe diff --git a/contrib/build-wine/electrum.nsi b/contrib/build-wine/electrum.nsi index dc88a0b88f52..aefa0c598ad8 100644 --- a/contrib/build-wine/electrum.nsi +++ b/contrib/build-wine/electrum.nsi @@ -46,7 +46,7 @@ SetCompressorDictSize 64 ;Sets the text that is shown (by default it is 'Nullsoft Install System vX.XX') in the bottom of the install window. Setting this to an empty string ("") uses the default; to set the string to blank, use " " (a space). - BrandingText "${PRODUCT_NAME} Installer v${PRODUCT_VERSION}" + BrandingText "${PRODUCT_NAME} Installer ${PRODUCT_VERSION}" ;Sets what the titlebars of the installer will display. By default, it is 'Name Setup', where Name is specified with the Name command. You can, however, override it with 'MyApp Installer' or whatever. If you specify an empty string (""), the default will be used (you can however specify " " to achieve a blank string) Caption "${PRODUCT_NAME}"