mirror of
https://github.com/monero-project/monero-gui.git
synced 2024-12-23 12:09:57 +00:00
Add embedded monero version in settings page too
This commit is contained in:
parent
7555502d64
commit
70956af7cd
2 changed files with 13 additions and 2 deletions
6
build.sh
6
build.sh
|
@ -47,7 +47,11 @@ fi
|
|||
|
||||
# force version update
|
||||
get_tag
|
||||
echo "var VERSION = \"$VERSIONTAG\"" > version.js
|
||||
echo "var GUI_VERSION = \"$VERSIONTAG\"" > version.js
|
||||
pushd "$MONERO_DIR"
|
||||
get_tag
|
||||
popd
|
||||
echo "var GUI_MONERO_VERSION = \"$VERSIONTAG\"" >> version.js
|
||||
|
||||
cd build
|
||||
qmake ../monero-wallet-gui.pro "$CONFIG"
|
||||
|
|
|
@ -350,7 +350,14 @@ Rectangle {
|
|||
id: guiVersion
|
||||
Layout.topMargin: 8
|
||||
color: "#4A4949"
|
||||
text: qsTr("GUI version: ") + Version.VERSION + translationManager.emptyString
|
||||
text: qsTr("GUI version: ") + Version.GUI_VERSION + translationManager.emptyString
|
||||
fontSize: 16
|
||||
}
|
||||
|
||||
Label {
|
||||
id: guiMoneroVersion
|
||||
color: "#4A4949"
|
||||
text: qsTr("Embedded Monero version: ") + Version.GUI_MONERO_VERSION + translationManager.emptyString
|
||||
fontSize: 16
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue