Merge pull request #2437

ef565e5 build: embed version metadata into binary (xiphon)
This commit is contained in:
luigi1111 2019-11-13 09:04:49 -06:00
commit 5518771a8b
No known key found for this signature in database
GPG key ID: F4ACA0183641E010

View file

@ -504,6 +504,9 @@ DISTFILES += \
notes.txt \
monero/src/wallet/CMakeLists.txt
VERSION = $$cat('version.js', lines)
VERSION = $$find(VERSION, 'GUI_VERSION')
VERSION = $$replace(VERSION, '.*(\d+\.\d+\.\d+\.\d+).*', '\1')
# windows application icon
RC_ICONS = images/appicon.ico