1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-08-24 20:19:10 +02:00

Compare commits

...

4 Commits

Author SHA1 Message Date
Laurent Cozic
7b6a19ad28 Desktop release v2.14.23 2024-08-07 11:46:34 +01:00
Laurent Cozic
a6cc5bdaeb Desktop, Mobile, Cli: Disable sync version check to allow compatibility between 2.14 and 3.0 for users who cannot upgrade 2024-08-07 11:41:58 +01:00
Laurent Cozic
e579eb9560 Desktop release v2.14.22 2024-05-22 15:00:35 +01:00
Henry Heino
36aaf5a10c Chore: Fix CI build for x86 MacOS (#10453) 2024-05-21 15:15:50 +01:00
3 changed files with 6 additions and 7 deletions

View File

@@ -23,7 +23,7 @@ jobs:
matrix:
# Do not use unbuntu-latest because it causes `The operation was canceled` failures:
# https://github.com/actions/runner-images/issues/6709
os: [macos-latest, ubuntu-20.04, windows-2019]
os: [macos-12, ubuntu-20.04, windows-2019]
steps:
# Trying to fix random networking issues on Windows

View File

@@ -1,6 +1,6 @@
{
"name": "@joplin/app-desktop",
"version": "2.14.21",
"version": "2.14.23",
"description": "Joplin for Desktop",
"main": "main.js",
"private": true,

View File

@@ -6,9 +6,6 @@ import { State } from '../../reducer';
import { PublicPrivateKeyPair } from '../e2ee/ppk';
import { MasterKeyEntity } from '../e2ee/types';
import { compareVersions } from 'compare-versions';
import { _ } from '../../locale';
import JoplinError from '../../JoplinError';
import { ErrorCode } from '../../errors';
const fastDeepEqual = require('fast-deep-equal');
const logger = Logger.create('syncInfoUtils');
@@ -427,6 +424,8 @@ export function masterKeyById(id: string) {
return localSyncInfo().masterKeys.find(mk => mk.id === id);
}
export const checkIfCanSync = (s: SyncInfo, appVersion: string) => {
if (compareVersions(appVersion, s.appMinVersion) < 0) throw new JoplinError(_('In order to synchronise, please upgrade your application to version %s+', s.appMinVersion), ErrorCode.MustUpgradeApp);
export const checkIfCanSync = (_s: SyncInfo, _appVersion: string) => {
// Disabled to allow compatibility between 2.14 and 3.0 for users who can't upgrade
// if (compareVersions(appVersion, s.appMinVersion) < 0) throw new JoplinError(_('In order to synchronise, please upgrade your application to version %s+', s.appMinVersion), ErrorCode.MustUpgradeApp);
};