TagSpaces is an offline, open source, document manager with tagging support
extensions v188
sytolka48818dd17a8
diff --git a/package-lock.json b/package-lock.jsonindex e25324601..de163ecac 100644--- a/package-lock.json+++ b/package-lock.json@@ -206,7 +206,7 @@"yarn": "please-use-npm"},"optionalDependencies": {- "@tagspacespro/tagspacespro": "5.0.155"+ "@tagspacespro/tagspacespro": "5.0.156"}},"node_modules/@adobe/css-tools": {@@ -19513,9 +19513,9 @@}},"node_modules/@tagspacespro/tagspacespro": {- "version": "5.0.155",- "resolved": "https://npm.pkg.github.com/download/@tagspacespro/tagspacespro/5.0.155/4e41d4e7fd7943c45cfba61d0385f47b53949f04",- "integrity": "sha512-ILXUuqnxHOoss5njgcO7digQqurM+bxAJH+dGaB8djHs8wz4MaMVIxRlxacPaii4B2VmGHvadtpgO3x1/4B2Sg==",+ "version": "5.0.156",+ "resolved": "https://npm.pkg.github.com/download/@tagspacespro/tagspacespro/5.0.156/bb30c3f6e625999b9613a4f3530d3a66fd96c1ab",+ "integrity": "sha512-5c2WzlewJQK/D4y8e3iYjwI8UBjFvhvLG1rAYdsMxZEygCw35gUZPaBSiiXTgPmkrI0nbTSrEfEOmA+nIfV4jQ==","license": "Proprietary","optional": true},diff --git a/release/app/package.json b/release/app/package.jsonindex 81b4d1b4b..8a6a22808 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.187",+ "@tagspaces/extensions": "1.0.188","@tagspaces/tagspaces-common-node": "4.5.67","@tagspaces/tagspaces-ws": "4.5.67","sharp": "0.32.6",diff --git a/src/main/extension-utils.ts b/src/main/extension-utils.tsindex 06e2f0a20..f1f5044ab 100644--- a/src/main/extension-utils.ts+++ b/src/main/extension-utils.ts@@ -88,6 +88,7 @@ function processDirs(fileTypes,buildFolder,enabled,+ isDefault,...props} = packageJsonObj['tsextension'];@@ -108,11 +109,13 @@ function processDirs((item) => item.type === fileType.ext,);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 (isDefault) {+ // If an item with the same id already exists, update its properties+ supportedFileTypes[existingItemIndex] = {+ ...supportedFileTypes[existingItemIndex],+ ...supportedTypes.reduce((a, b) => ({ ...a, ...b })),+ };+ }} else {supportedFileTypes.push({type: fileType.ext,