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

Cross-platform version number retrieval (#2355)

* Add shim to retrieve application version.

* Create shim to retrieve app version number.

* Add a fall through handler to throw an error.
This commit is contained in:
mic704b
2020-01-25 07:56:44 +11:00
committed by Laurent Cozic
parent 4ec9492f7c
commit f78729ad1f
3 changed files with 18 additions and 0 deletions

View File

@ -197,6 +197,10 @@ shim.waitForFrame = () => {
throw new Error('Not implemented');
};
shim.appVersion = () => {
throw new Error('Not implemented');
};
shim.injectedJs = name => '';
let isTestingEnv_ = false;