mirror of
https://github.com/monero-project/monero-gui.git
synced 2024-11-17 08:17:59 +00:00
build: embed version metadata into binary
This commit is contained in:
parent
025a638082
commit
ef565e5fa3
1 changed files with 3 additions and 0 deletions
|
@ -493,6 +493,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
|
||||
|
|
Loading…
Reference in a new issue