Skip to content

Commit

Permalink
fix setup versioning
Browse files Browse the repository at this point in the history
  • Loading branch information
kralverde committed Oct 21, 2023
1 parent 337c677 commit 9b18cca
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions contrib/build-wine/build-electrum-git.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion contrib/build-wine/electrum.nsi
Original file line number Diff line number Diff line change
Expand Up @@ -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}"
Expand Down

0 comments on commit 9b18cca

Please sign in to comment.