You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-07-13 00:10:37 +02:00
Desktop, Cli: Fixed issue when getting version info
This commit is contained in:
@ -87,7 +87,12 @@ try {
|
||||
keytar = null;
|
||||
}
|
||||
|
||||
shimInit(null, keytar, React);
|
||||
function appVersion() {
|
||||
const p = require('./packageInfo.js');
|
||||
return p.version;
|
||||
}
|
||||
|
||||
shimInit(null, keytar, React, appVersion);
|
||||
|
||||
// Disable drag and drop of links inside application (which would
|
||||
// open it as if the whole app was a browser)
|
||||
|
Reference in New Issue
Block a user