Add embedded monero version in settings page too

This commit is contained in:
moneromooo.monero 2016-12-21 10:47:16 +00:00
parent 7555502d64
commit 70956af7cd
2 changed files with 13 additions and 2 deletions

View file

@ -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"

View file

@ -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
}