mirror of
https://github.com/monero-project/monero-gui
synced 2024-12-29 23:26:24 +01:00
Add embedded monero version in settings page too
This commit is contained in:
parent
7555502d64
commit
70956af7cd
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 New Issue
Block a user