diff options
Diffstat (limited to 'src/main/main.cpp')
| -rw-r--r-- | src/main/main.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/main/main.cpp b/src/main/main.cpp index 165f9ae1..a6a77a5b 100644 --- a/src/main/main.cpp +++ b/src/main/main.cpp @@ -503,6 +503,12 @@ Verify update binary using 'shasum'-compatible (SHA256 algo) output signed by tw #endif engine.rootContext()->setContextProperty("builtWithScanner", builtWithScanner); + bool builtWithDesktopEntry = false; +#ifdef WITH_DESKTOP_ENTRY + builtWithDesktopEntry = true; +#endif + engine.rootContext()->setContextProperty("builtWithDesktopEntry", builtWithDesktopEntry); + engine.rootContext()->setContextProperty("moneroVersion", MONERO_VERSION_FULL); // Load main window (context properties needs to be defined obove this line) |
