TagSpaces is an offline, open source, document manager with tagging support
extensions v1.0.104
sytolk2055b9e5650a
diff --git a/.prettierignore b/.prettierignoreindex 239fdb337..24023f45f 100755--- a/.prettierignore+++ b/.prettierignore@@ -23,3 +23,4 @@ tests/binsrc/renderer/aws-exports.jssrc/main/config/config.jsonsrc/renderer/extension-config.ts+extensionsdiff --git a/release/app/package-lock.json b/release/app/package-lock.jsonindex 2bf3e5fb5..2e45d45fd 100644--- a/release/app/package-lock.json+++ b/release/app/package-lock.json@@ -11,7 +11,7 @@"license": "AGPL-3.0","dependencies": {"@elife/pm2": "3.6.1",- "@tagspaces/extensions": "1.0.102",+ "@tagspaces/extensions": "1.0.104","@tagspaces/tagspaces-common-node": "4.2.4","@tagspaces/tagspaces-ws": "4.2.4","sharp": "0.32.6",@@ -30,9 +30,9 @@}},"node_modules/@tagspaces/extensions": {- "version": "1.0.102",- "resolved": "https://registry.npmjs.org/@tagspaces/extensions/-/extensions-1.0.102.tgz",- "integrity": "sha512-CF1fKZNOLw5Fccgx1W7ZXMygQfNRG/VXQRDbKdk/PzPbgZfJKhPEUm+eGhc5yz4GIcDG2RDr3otJF5jfgkFYqw==",+ "version": "1.0.104",+ "resolved": "https://registry.npmjs.org/@tagspaces/extensions/-/extensions-1.0.104.tgz",+ "integrity": "sha512-0sJGHDsc9Fs8Qy87Ctx1oeK3O71r89DS7GY0tno/BhtlWWZnbgWT+ShwYEz47+zNVBgXkJMo/KeOG1r45lQHCQ==","dependencies": {"shelljs": "^0.8.5","shx": "^0.3.4"@@ -1093,9 +1093,9 @@}},"@tagspaces/extensions": {- "version": "1.0.102",- "resolved": "https://registry.npmjs.org/@tagspaces/extensions/-/extensions-1.0.102.tgz",- "integrity": "sha512-CF1fKZNOLw5Fccgx1W7ZXMygQfNRG/VXQRDbKdk/PzPbgZfJKhPEUm+eGhc5yz4GIcDG2RDr3otJF5jfgkFYqw==",+ "version": "1.0.104",+ "resolved": "https://registry.npmjs.org/@tagspaces/extensions/-/extensions-1.0.104.tgz",+ "integrity": "sha512-0sJGHDsc9Fs8Qy87Ctx1oeK3O71r89DS7GY0tno/BhtlWWZnbgWT+ShwYEz47+zNVBgXkJMo/KeOG1r45lQHCQ==","requires": {"shelljs": "^0.8.5","shx": "^0.3.4"diff --git a/release/app/package.json b/release/app/package.jsonindex 4f4d44e12..d2015505a 100644--- a/release/app/package.json+++ b/release/app/package.json@@ -18,7 +18,7 @@},"dependencies": {"@elife/pm2": "3.6.1",- "@tagspaces/extensions": "1.0.102",+ "@tagspaces/extensions": "1.0.104","@tagspaces/tagspaces-common-node": "4.2.4","@tagspaces/tagspaces-ws": "4.2.4","sharp": "0.32.6",diff --git a/src/main/extension-utils.ts b/src/main/extension-utils.tsindex 87ccda237..5428e0fec 100644--- a/src/main/extension-utils.ts+++ b/src/main/extension-utils.ts@@ -110,10 +110,16 @@ function processDirs();if (existingItemIndex !== -1) {// If an item with the same id already exists, update its properties- supportedFileTypes[existingItemIndex] = {- ...supportedFileTypes[existingItemIndex],- ...supportedTypes.reduce((a, b) => ({ ...a, ...b })),- };+ if (+ supportedFileTypes[existingItemIndex].viewer !==+ '@tagspaces/extensions/md-editor/build'+ ) {+ // todo ugly fix to not override md-editor extension with md-editor-next+ supportedFileTypes[existingItemIndex] = {+ ...supportedFileTypes[existingItemIndex],+ ...supportedTypes.reduce((a, b) => ({ ...a, ...b })),+ };+ }} else {supportedFileTypes.push({type: fileType.ext,