Add version number to settings dialog.

For the web app we also display the git hash.
This commit is contained in:
Jonatan Heyman
2024-01-12 15:08:53 +01:00
parent 37b62d416e
commit 295e55552b
6 changed files with 41 additions and 10 deletions

View File

@@ -148,6 +148,10 @@ const Heynote = {
currencyData = JSON.parse(await response.text())
return currencyData
},
async getVersion() {
return __APP_VERSION__ + " (" + __GIT_HASH__ + ")"
},
}
export { Heynote, ipcRenderer}