TagSpaces is an offline, open source, document manager with tagging support
Chrome fix
Borislav Sapundzhiev87ba766394ae
diff --git a/data/js/extension.manager.js b/data/js/extension.manager.jsindex be0e9d569..fae8f415e 100644--- a/data/js/extension.manager.js+++ b/data/js/extension.manager.js@@ -14,6 +14,10 @@ define(function(require, exports, module) {return cordova.file.applicationDirectory + "www/ext/";//return location.href.replace(/index.html/gi, extPath);}+ if(isChrome) {+ //TODO: chrome fail to read resource://+ return chrome.extension.getURL(extPath);+ }return location.href.replace(/file:\/\//gi, "").replace(/index.html/gi, extPath);}@@ -41,7 +45,10 @@ define(function(require, exports, module) {function loadExtensionData() {var extFolderPath = getExtFolderPath();-+ if(isChrome) {+ //TODO: chrome+ return Promise.resolve();+ }var promise = new Promise(function(resolve, reject) {TSCORE.IO.listDirectoryPromise(extFolderPath).then(function(dirList) {var readBowerFileWorkers = [];