mirror of
https://github.com/monero-project/monero-gui.git
synced 2026-04-02 02:37:25 -04:00
build: embed version metadata into binary
This commit is contained in:
@@ -493,6 +493,9 @@ DISTFILES += \
|
|||||||
notes.txt \
|
notes.txt \
|
||||||
monero/src/wallet/CMakeLists.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
|
# windows application icon
|
||||||
RC_ICONS = images/appicon.ico
|
RC_ICONS = images/appicon.ico
|
||||||
|
|||||||
Reference in New Issue
Block a user