TagSpaces is an offline, open source, document manager with tagging support
hide .ts folder in Windows
Stanimir8ae573ba9e18
diff --git a/package-lock.json b/package-lock.jsonindex 453d72ee3..193d64174 100644--- a/package-lock.json+++ b/package-lock.json@@ -19,10 +19,10 @@"@mui/lab": "5.0.0-alpha.160","@mui/material": "^5.15.4","@mui/x-date-pickers": "^5.0.20",- "@tagspaces/tagspaces-common": "4.3.13",- "@tagspaces/tagspaces-common-aws3": "4.3.13",- "@tagspaces/tagspaces-common-cordova": "4.3.13",- "@tagspaces/tagspaces-indexer": "4.3.13",+ "@tagspaces/tagspaces-common": "4.3.16",+ "@tagspaces/tagspaces-common-aws3": "4.3.16",+ "@tagspaces/tagspaces-common-cordova": "4.3.16",+ "@tagspaces/tagspaces-indexer": "4.3.16","@tagspaces/tagspaces-md": "4.3.13","aws-amplify": "^4.3.8","aws-sdk": "^2.1036.0",@@ -13772,9 +13772,9 @@}},"node_modules/@tagspaces/tagspaces-common": {- "version": "4.3.13",- "resolved": "https://registry.npmjs.org/@tagspaces/tagspaces-common/-/tagspaces-common-4.3.13.tgz",- "integrity": "sha512-/fDEhwU9iu6/Dnzuw75j9XRbnVfuy4OdBb+Ea3UQ7tY6GtTG0GirvloBeZVRnPj4VB2+EQm6A0LhE7Qome9ZPA==",+ "version": "4.3.16",+ "resolved": "https://registry.npmjs.org/@tagspaces/tagspaces-common/-/tagspaces-common-4.3.16.tgz",+ "integrity": "sha512-73qy6kfclmG/u6ZcyC6esUvKR+GME9jiEDmaRh3sMC2id318+DygDirbagIjurwMFLaUChd+Yabs36gthao5sQ==","dependencies": {"dotenv": "^16.0.2","picomatch": "^3.0.1",@@ -13782,11 +13782,11 @@}},"node_modules/@tagspaces/tagspaces-common-aws3": {- "version": "4.3.13",- "resolved": "https://registry.npmjs.org/@tagspaces/tagspaces-common-aws3/-/tagspaces-common-aws3-4.3.13.tgz",- "integrity": "sha512-6sD1S53c8G1Kf3eBWAgTyq3cpvDkzxJ9aVNm+XiaL3+32b/tTqBK7Bh6XVajoS5Bv5Kg00btPRc5g9CUGrK1Ng==",+ "version": "4.3.16",+ "resolved": "https://registry.npmjs.org/@tagspaces/tagspaces-common-aws3/-/tagspaces-common-aws3-4.3.16.tgz",+ "integrity": "sha512-VyOs+mC6AL4lR+ZHmoiVuP1poGbIA2ZLZMy4NkxWPfXNEcvM3kKnoUy0pals8A4YBTNFqbupHY0EfxiXX6ucDQ==","dependencies": {- "@tagspaces/tagspaces-common": "^4.3.13",+ "@tagspaces/tagspaces-common": "^4.3.16","aws-sdk": "2.1605.0"}},@@ -13842,11 +13842,11 @@}},"node_modules/@tagspaces/tagspaces-common-cordova": {- "version": "4.3.13",- "resolved": "https://registry.npmjs.org/@tagspaces/tagspaces-common-cordova/-/tagspaces-common-cordova-4.3.13.tgz",- "integrity": "sha512-+hAVK6QBVgmZgEoGOj5KYsiMFNMvYlbJeqXOvZw2kCTe5wZiWXceT7BSsmwXIhZv4J+Kx+Z658YNVUDIObgByQ==",+ "version": "4.3.16",+ "resolved": "https://registry.npmjs.org/@tagspaces/tagspaces-common-cordova/-/tagspaces-common-cordova-4.3.16.tgz",+ "integrity": "sha512-m/11YclIdr/1ckuNSqdZtqI74PrTo0FJBpR4R1cBHMmHDX7UjiL74VxA63hr1yVRkBtsdpxQNLuBpvXEgzy2Jw==","dependencies": {- "@tagspaces/tagspaces-common": "^4.3.13"+ "@tagspaces/tagspaces-common": "^4.3.16"}},"node_modules/@tagspaces/tagspaces-common/node_modules/uuid": {@@ -13858,11 +13858,11 @@}},"node_modules/@tagspaces/tagspaces-indexer": {- "version": "4.3.13",- "resolved": "https://registry.npmjs.org/@tagspaces/tagspaces-indexer/-/tagspaces-indexer-4.3.13.tgz",- "integrity": "sha512-Zqtk8Fi7cE4sGQeJTJbgChEihxsYqFH3yOjNQQpX7yDw+Ex2VKVcMHr61ZZ81/GOsTvlYydvX2m6nko5hTtjYQ==",+ "version": "4.3.16",+ "resolved": "https://registry.npmjs.org/@tagspaces/tagspaces-indexer/-/tagspaces-indexer-4.3.16.tgz",+ "integrity": "sha512-cMmaf7GjAh0Gby4LyRDlZOm2QOrmByvDzRjiLSQhIbqsjWtbmNDUtETDDADORrmekfXLD2m+cZVqSgF8MtimFQ==","dependencies": {- "@tagspaces/tagspaces-common": "^4.3.13"+ "@tagspaces/tagspaces-common": "^4.3.16"}},"node_modules/@tagspaces/tagspaces-md": {diff --git a/package.json b/package.jsonindex 141e6144a..36fe50b2f 100644--- a/package.json+++ b/package.json@@ -159,10 +159,10 @@"@mui/lab": "5.0.0-alpha.160","@mui/material": "^5.15.4","@mui/x-date-pickers": "^5.0.20",- "@tagspaces/tagspaces-common": "4.3.13",- "@tagspaces/tagspaces-common-aws3": "4.3.13",- "@tagspaces/tagspaces-common-cordova": "4.3.13",- "@tagspaces/tagspaces-indexer": "4.3.13",+ "@tagspaces/tagspaces-common": "4.3.16",+ "@tagspaces/tagspaces-common-aws3": "4.3.16",+ "@tagspaces/tagspaces-common-cordova": "4.3.16",+ "@tagspaces/tagspaces-indexer": "4.3.16","@tagspaces/tagspaces-md": "4.3.13","aws-amplify": "^4.3.8","aws-sdk": "^2.1036.0",diff --git a/release/app/package-lock.json b/release/app/package-lock.jsonindex 076967dca..5408ab252 100644--- a/release/app/package-lock.json+++ b/release/app/package-lock.json@@ -12,8 +12,8 @@"dependencies": {"@elife/pm2": "3.6.1","@tagspaces/extensions": "1.0.114",- "@tagspaces/tagspaces-common-node": "4.3.13",- "@tagspaces/tagspaces-ws": "4.3.13",+ "@tagspaces/tagspaces-common-node": "4.3.16",+ "@tagspaces/tagspaces-ws": "4.3.17","sharp": "0.32.6","ws": "8.16.0"},@@ -43,9 +43,9 @@}},"node_modules/@tagspaces/tagspaces-common": {- "version": "4.3.13",- "resolved": "https://registry.npmjs.org/@tagspaces/tagspaces-common/-/tagspaces-common-4.3.13.tgz",- "integrity": "sha512-/fDEhwU9iu6/Dnzuw75j9XRbnVfuy4OdBb+Ea3UQ7tY6GtTG0GirvloBeZVRnPj4VB2+EQm6A0LhE7Qome9ZPA==",+ "version": "4.3.16",+ "resolved": "https://registry.npmjs.org/@tagspaces/tagspaces-common/-/tagspaces-common-4.3.16.tgz",+ "integrity": "sha512-73qy6kfclmG/u6ZcyC6esUvKR+GME9jiEDmaRh3sMC2id318+DygDirbagIjurwMFLaUChd+Yabs36gthao5sQ==","dependencies": {"dotenv": "^16.0.2","picomatch": "^3.0.1",@@ -53,11 +53,11 @@}},"node_modules/@tagspaces/tagspaces-common-node": {- "version": "4.3.13",- "resolved": "https://registry.npmjs.org/@tagspaces/tagspaces-common-node/-/tagspaces-common-node-4.3.13.tgz",- "integrity": "sha512-7PXp4laWyXxa3uAOEuNURJg2bKX35DGZSkrwyNP4c1LyLci3UHw30Gvq5Kw3iSlvzwjAlLkhqfI37rOn1ATbHA==",+ "version": "4.3.16",+ "resolved": "https://registry.npmjs.org/@tagspaces/tagspaces-common-node/-/tagspaces-common-node-4.3.16.tgz",+ "integrity": "sha512-l5mC680OjzTszOQL2isnBqPmQ6UB6TZwb40phhWHP3rONGxSPuvJdmtfmAZHkXxQmAGNjBAj5oiMuf56emkZSg==","dependencies": {- "@tagspaces/tagspaces-common": "^4.3.13",+ "@tagspaces/tagspaces-common": "^4.3.16","adm-zip": "0.5.10","fs-extra": "^10.0.0","klaw": "^4.1.0",@@ -80,22 +80,23 @@}},"node_modules/@tagspaces/tagspaces-workers": {- "version": "4.3.13",- "resolved": "https://registry.npmjs.org/@tagspaces/tagspaces-workers/-/tagspaces-workers-4.3.13.tgz",- "integrity": "sha512-JwMUmRiLDo6LAU9bph7idjxiY/VGmNNcAm5+xov7CC/pv6DFIKmoweCvgUkjbKyhS6Ye1eEb0JTFD0T5cwi6jA==",+ "version": "4.3.17",+ "resolved": "https://registry.npmjs.org/@tagspaces/tagspaces-workers/-/tagspaces-workers-4.3.17.tgz",+ "integrity": "sha512-3rDBJ1rOWrwLDVgsipv9i3HrLILl0LBoSMScK6B4uqIH8UU87NM+N4vbkukTM5MrsFNkdY8qWkC3IQo57nwVdw==","dependencies": {- "@tagspaces/tagspaces-common": "^4.3.13",- "@tagspaces/tagspaces-common-node": "^4.3.13",+ "@tagspaces/tagspaces-common": "^4.3.16",+ "@tagspaces/tagspaces-common-node": "^4.3.16","@tagspaces/tagspaces-platforms": "^4.3.2",- "@tagspaces/tagspaces-thumbgen-image": "^4.2.3"+ "@tagspaces/tagspaces-thumbgen-image": "^4.2.3",+ "fswin": "^3.24.524"}},"node_modules/@tagspaces/tagspaces-ws": {- "version": "4.3.13",- "resolved": "https://registry.npmjs.org/@tagspaces/tagspaces-ws/-/tagspaces-ws-4.3.13.tgz",- "integrity": "sha512-H8ClchZ7WyjDPPmlk71Y71Bu/fy3blFPDP9lPgBWvvkxy0YsCvItP/l/wg9NY/lC8OYij9meRIGGBE3L1JfVZA==",+ "version": "4.3.17",+ "resolved": "https://registry.npmjs.org/@tagspaces/tagspaces-ws/-/tagspaces-ws-4.3.17.tgz",+ "integrity": "sha512-gUOM/xgdjDMmpxzxWWh1AyQwjEFSrrU7wInwiIQLoiC4QmN5r1Mi9P5PEcaiDVHXgzIk5wjwIYgFsEvGRqCQEA==","dependencies": {- "@tagspaces/tagspaces-workers": "^4.3.13",+ "@tagspaces/tagspaces-workers": "^4.3.17","find-free-ports": "^3.1.1","jsonwebtoken": "^8.5.1","ws": "^8.15.1"@@ -397,6 +398,14 @@"resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz","integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw=="},+ "node_modules/fswin": {+ "version": "3.24.524",+ "resolved": "https://registry.npmjs.org/fswin/-/fswin-3.24.524.tgz",+ "integrity": "sha512-+rQoE77yuYzMLArCfe1cjk6tFbEko2csU6Fmu3guX3W+FJ+5vD14bPdw6rD8/rFj/uvFXa1qtSkB1M16k4Ibng==",+ "engines": {+ "node": ">= 8.0"+ }+ },"node_modules/function-bind": {"version": "1.1.2","resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz",@@ -1129,9 +1138,9 @@}},"@tagspaces/tagspaces-common": {- "version": "4.3.13",- "resolved": "https://registry.npmjs.org/@tagspaces/tagspaces-common/-/tagspaces-common-4.3.13.tgz",- "integrity": "sha512-/fDEhwU9iu6/Dnzuw75j9XRbnVfuy4OdBb+Ea3UQ7tY6GtTG0GirvloBeZVRnPj4VB2+EQm6A0LhE7Qome9ZPA==",+ "version": "4.3.16",+ "resolved": "https://registry.npmjs.org/@tagspaces/tagspaces-common/-/tagspaces-common-4.3.16.tgz",+ "integrity": "sha512-73qy6kfclmG/u6ZcyC6esUvKR+GME9jiEDmaRh3sMC2id318+DygDirbagIjurwMFLaUChd+Yabs36gthao5sQ==","requires": {"dotenv": "^16.0.2","picomatch": "^3.0.1",@@ -1139,11 +1148,11 @@}},"@tagspaces/tagspaces-common-node": {- "version": "4.3.13",- "resolved": "https://registry.npmjs.org/@tagspaces/tagspaces-common-node/-/tagspaces-common-node-4.3.13.tgz",- "integrity": "sha512-7PXp4laWyXxa3uAOEuNURJg2bKX35DGZSkrwyNP4c1LyLci3UHw30Gvq5Kw3iSlvzwjAlLkhqfI37rOn1ATbHA==",+ "version": "4.3.16",+ "resolved": "https://registry.npmjs.org/@tagspaces/tagspaces-common-node/-/tagspaces-common-node-4.3.16.tgz",+ "integrity": "sha512-l5mC680OjzTszOQL2isnBqPmQ6UB6TZwb40phhWHP3rONGxSPuvJdmtfmAZHkXxQmAGNjBAj5oiMuf56emkZSg==","requires": {- "@tagspaces/tagspaces-common": "^4.3.13",+ "@tagspaces/tagspaces-common": "^4.3.16","adm-zip": "0.5.10","fs-extra": "^10.0.0","klaw": "^4.1.0",@@ -1165,22 +1174,23 @@}},"@tagspaces/tagspaces-workers": {- "version": "4.3.13",- "resolved": "https://registry.npmjs.org/@tagspaces/tagspaces-workers/-/tagspaces-workers-4.3.13.tgz",- "integrity": "sha512-JwMUmRiLDo6LAU9bph7idjxiY/VGmNNcAm5+xov7CC/pv6DFIKmoweCvgUkjbKyhS6Ye1eEb0JTFD0T5cwi6jA==",+ "version": "4.3.17",+ "resolved": "https://registry.npmjs.org/@tagspaces/tagspaces-workers/-/tagspaces-workers-4.3.17.tgz",+ "integrity": "sha512-3rDBJ1rOWrwLDVgsipv9i3HrLILl0LBoSMScK6B4uqIH8UU87NM+N4vbkukTM5MrsFNkdY8qWkC3IQo57nwVdw==","requires": {- "@tagspaces/tagspaces-common": "^4.3.13",- "@tagspaces/tagspaces-common-node": "^4.3.13",+ "@tagspaces/tagspaces-common": "^4.3.16",+ "@tagspaces/tagspaces-common-node": "^4.3.16","@tagspaces/tagspaces-platforms": "^4.3.2",- "@tagspaces/tagspaces-thumbgen-image": "^4.2.3"+ "@tagspaces/tagspaces-thumbgen-image": "^4.2.3",+ "fswin": "^3.24.524"}},"@tagspaces/tagspaces-ws": {- "version": "4.3.13",- "resolved": "https://registry.npmjs.org/@tagspaces/tagspaces-ws/-/tagspaces-ws-4.3.13.tgz",- "integrity": "sha512-H8ClchZ7WyjDPPmlk71Y71Bu/fy3blFPDP9lPgBWvvkxy0YsCvItP/l/wg9NY/lC8OYij9meRIGGBE3L1JfVZA==",+ "version": "4.3.17",+ "resolved": "https://registry.npmjs.org/@tagspaces/tagspaces-ws/-/tagspaces-ws-4.3.17.tgz",+ "integrity": "sha512-gUOM/xgdjDMmpxzxWWh1AyQwjEFSrrU7wInwiIQLoiC4QmN5r1Mi9P5PEcaiDVHXgzIk5wjwIYgFsEvGRqCQEA==","requires": {- "@tagspaces/tagspaces-workers": "^4.3.13",+ "@tagspaces/tagspaces-workers": "^4.3.17","find-free-ports": "^3.1.1","jsonwebtoken": "^8.5.1","ws": "^8.15.1"@@ -1411,6 +1421,11 @@"resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz","integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw=="},+ "fswin": {+ "version": "3.24.524",+ "resolved": "https://registry.npmjs.org/fswin/-/fswin-3.24.524.tgz",+ "integrity": "sha512-+rQoE77yuYzMLArCfe1cjk6tFbEko2csU6Fmu3guX3W+FJ+5vD14bPdw6rD8/rFj/uvFXa1qtSkB1M16k4Ibng=="+ },"function-bind": {"version": "1.1.2","resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz",diff --git a/release/app/package.json b/release/app/package.jsonindex aee2c483c..62a5fadfd 100644--- a/release/app/package.json+++ b/release/app/package.json@@ -19,8 +19,8 @@"dependencies": {"@elife/pm2": "3.6.1","@tagspaces/extensions": "1.0.114",- "@tagspaces/tagspaces-common-node": "4.3.13",- "@tagspaces/tagspaces-ws": "4.3.13",+ "@tagspaces/tagspaces-common-node": "4.3.16",+ "@tagspaces/tagspaces-ws": "4.3.17","sharp": "0.32.6","ws": "8.16.0"},diff --git a/src/main/mainEvents.ts b/src/main/mainEvents.tsindex 4d141e47c..e8b057710 100644--- a/src/main/mainEvents.ts+++ b/src/main/mainEvents.ts@@ -152,6 +152,15 @@ export default function loadMainEvents() {});ipcMain.handle('createDirectoryPromise', async (event, dirPath) => {const result = await createDirectoryPromise(dirPath);+ if (process.platform === 'win32' && dirPath.endsWith('\\.ts')) {+ // hide .ts folder on Windows+ const wssPost = await postRequest(+ JSON.stringify({ path: dirPath }),+ '/hide-folder',+ );+ // @ts-ignore+ console.log('Hide folder: ' + dirPath + ' - ' + wssPost.success);+ }return result;});ipcMain.handle(