Skip to content

TagSpaces is an offline, open source, document manager with tagging support

fix winattr

Stanimir Marinovf50fabc709f8
diff --git a/app/reducers/app.js b/app/reducers/app.js
index 999646035..93cd03d91 100644
--- a/app/reducers/app.js
+++ b/app/reducers/app.js
@@ -18,7 +18,7 @@
*/
import uuidv1 from 'uuid';
-import winattr from 'winattr';
+// import winattr from 'winattr';
import { type Location, locationType } from './locations';
import PlatformIO from '../services/platform-io';
import AppConfig from '../config';
@@ -574,7 +574,7 @@ export const actions = {
);
// Make .ts a hidden folder under Windows
// TODO move functionality to electron-io.js
- if (AppConfig.isElectron && AppConfig.isWin && !PlatformIO.haveObjectStoreSupport()) {
+ /* if (AppConfig.isElectron && AppConfig.isWin && !PlatformIO.haveObjectStoreSupport() && !AppConfig.isCordova) {
winattr.set(metaDirectory, { hidden: true }, (err) => {
if (err) {
console.warn('Error setting hidden attr. to dir: ' + metaDirectory);
@@ -582,7 +582,7 @@ export const actions = {
console.log('Success setting hidden attr. to dir: ' + metaDirectory);
}
});
- }
+ } */
return true;
})
.catch(() => {
diff --git a/cordova/platforms/android/app/src/main/assets/www/third-party.txt b/cordova/platforms/android/app/src/main/assets/www/third-party.txt
index dc0253a42..5b80a36bb 100644
--- a/cordova/platforms/android/app/src/main/assets/www/third-party.txt
+++ b/cordova/platforms/android/app/src/main/assets/www/third-party.txt
@@ -6844,7 +6844,7 @@ OTHER DEALINGS IN THE SOFTWARE.
-----
-The following software may be included in this product: css-loader, enhanced-resolve, extract-text-webpack-plugin, file-loader, json-loader, less-loader, loader-utils, schema-utils, style-loader, terser-webpack-plugin, url-loader, watchpack, webpack, webpack-bundle-analyzer, webpack-dev-middleware, webpack-dev-server, worker-loader. A copy of the source code may be downloaded from https://github.com/webpack-contrib/css-loader.git (css-loader), git://github.com/webpack/enhanced-resolve.git (enhanced-resolve), https://github.com/webpack-contrib/extract-text-webpack-plugin (extract-text-webpack-plugin), https://github.com/webpack/file-loader.git (file-loader), https://github.com/webpack/json-loader.git (json-loader), https://github.com/webpack-contrib/less-loader.git (less-loader), https://github.com/webpack/loader-utils.git (loader-utils), https://github.com/webpack-contrib/schema-utils (schema-utils), [email protected]:webpack/style-loader.git (style-loader), https://github.com/webpack-contrib/terser-webpack-plugin.git (terser-webpack-plugin), https://github.com/webpack-contrib/url-loader.git (url-loader), https://github.com/webpack/watchpack.git (watchpack), https://github.com/webpack/webpack.git (webpack), git+https://github.com/webpack-contrib/webpack-bundle-analyzer.git (webpack-bundle-analyzer), https://github.com/webpack/webpack-dev-middleware.git (webpack-dev-middleware), https://github.com/webpack/webpack-dev-server.git (webpack-dev-server), https://github.com/webpack-contrib/worker-loader.git (worker-loader). This software contains the following license and notice below:
+The following software may be included in this product: css-loader, enhanced-resolve, extract-text-webpack-plugin, file-loader, json-loader, less-loader, loader-utils, raw-loader, schema-utils, style-loader, terser-webpack-plugin, url-loader, watchpack, webpack, webpack-bundle-analyzer, webpack-dev-middleware, webpack-dev-server, worker-loader. A copy of the source code may be downloaded from https://github.com/webpack-contrib/css-loader.git (css-loader), git://github.com/webpack/enhanced-resolve.git (enhanced-resolve), https://github.com/webpack-contrib/extract-text-webpack-plugin (extract-text-webpack-plugin), https://github.com/webpack/file-loader.git (file-loader), https://github.com/webpack/json-loader.git (json-loader), https://github.com/webpack-contrib/less-loader.git (less-loader), https://github.com/webpack/loader-utils.git (loader-utils), https://github.com/webpack-contrib/raw-loader.git (raw-loader), git+https://github.com/webpack-contrib/schema-utils.git (schema-utils), [email protected]:webpack/style-loader.git (style-loader), https://github.com/webpack-contrib/terser-webpack-plugin.git (terser-webpack-plugin), https://github.com/webpack-contrib/url-loader.git (url-loader), https://github.com/webpack/watchpack.git (watchpack), https://github.com/webpack/webpack.git (webpack), git+https://github.com/webpack-contrib/webpack-bundle-analyzer.git (webpack-bundle-analyzer), https://github.com/webpack/webpack-dev-middleware.git (webpack-dev-middleware), https://github.com/webpack/webpack-dev-server.git (webpack-dev-server), https://github.com/webpack-contrib/worker-loader.git (worker-loader). This software contains the following license and notice below:
Copyright JS Foundation and other contributors
@@ -19597,7 +19597,7 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-----
-The following software may be included in this product: relateurl. A copy of the source code may be downloaded from git://github.com/stevenvachon/relateurl.git. This software contains the following license and notice below:
+The following software may be included in this product: relateurl, winattr. A copy of the source code may be downloaded from git://github.com/stevenvachon/relateurl.git (relateurl), https://github.com/stevenvachon/winattr.git (winattr). This software contains the following license and notice below:
The MIT License (MIT)