1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-11-26 22:41:17 +02:00

Desktop, Mobile, Cli: Allow setting a minimum app version on the sync target (#9778)

This commit is contained in:
Laurent Cozic
2024-01-26 10:32:35 +00:00
committed by GitHub
parent 2cc4ac087b
commit 7b06090255
12 changed files with 166 additions and 10 deletions

View File

@@ -93,7 +93,7 @@ interface ShimInitOptions {
sharp: any;
keytar: any;
React: any;
appVersion: any;
appVersion: ()=> string;
electronBridge: any;
nodeSqlite: any;
pdfJs: typeof pdfJsNamespace;
@@ -673,7 +673,7 @@ function shimInit(options: ShimInitOptions = null) {
if (appVersion) return appVersion();
// Should not happen but don't throw an error because version number is
// used in error messages.
return 'unknown-version!';
return 'unknown';
};
shim.pathRelativeToCwd = (path) => {