From ef565e5fa3b3ed5215ecec4b6083c3e8572edbae Mon Sep 17 00:00:00 2001 From: xiphon Date: Tue, 12 Nov 2019 00:17:41 +0000 Subject: [PATCH] build: embed version metadata into binary --- monero-wallet-gui.pro | 3 +++ 1 file changed, 3 insertions(+) diff --git a/monero-wallet-gui.pro b/monero-wallet-gui.pro index 1d58ce98..4da799a9 100644 --- a/monero-wallet-gui.pro +++ b/monero-wallet-gui.pro @@ -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