1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-06-24 23:26:50 +02:00

Desktop, Cli: Fixed issue when getting version info

This commit is contained in:
Laurent Cozic
2021-04-07 19:12:37 +02:00
parent 5667e687e9
commit 54884d6db4
3 changed files with 17 additions and 9 deletions

View File

@ -59,7 +59,12 @@ try {
keytar = null;
}
shimInit(sharp, keytar);
function appVersion() {
const p = require('./package.json');
return p.version;
}
shimInit(sharp, keytar, null, appVersion);
const application = app();