You've already forked joplin
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:
@@ -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) => {
|
||||
|
||||
Reference in New Issue
Block a user