From 36262f029accbf486d2c8dad5c2115a3c40615b4 Mon Sep 17 00:00:00 2001 From: xiphon Date: Fri, 10 Jul 2020 13:37:04 +0000 Subject: version: use MONERO_VERSION_FULL const as monero core version --- src/main/main.cpp | 5 +++++ src/version.js.in | 1 - 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/main/main.cpp b/src/main/main.cpp index 41b41faa..6b01dfc9 100644 --- a/src/main/main.cpp +++ b/src/main/main.cpp @@ -38,6 +38,9 @@ #include #include #include + +#include + #include "clipboardAdapter.h" #include "filter.h" #include "oscursor.h" @@ -499,6 +502,8 @@ Verify update binary using 'shasum'-compatible (SHA256 algo) output signed by tw #endif engine.rootContext()->setContextProperty("builtWithScanner", builtWithScanner); + engine.rootContext()->setContextProperty("moneroVersion", MONERO_VERSION_FULL); + Network network; engine.rootContext()->setContextProperty("Network", &network); diff --git a/src/version.js.in b/src/version.js.in index 66f92852..dab4a07e 100644 --- a/src/version.js.in +++ b/src/version.js.in @@ -1,2 +1 @@ var GUI_VERSION = "@VERSION_TAG_GUI@"; -var GUI_MONERO_VERSION = "@VERSION_TAG_CORE@"; -- cgit v1.2.3