Skip to content

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

TS231 - Loading extensions in settings

Borislav Sapundzhieva0352992046e
diff --git a/data/js/extension.manager.js b/data/js/extension.manager.js
index 28f3a98c3..c5618f3a1 100644
--- a/data/js/extension.manager.js
+++ b/data/js/extension.manager.js
@@ -18,6 +18,9 @@ define(function(require, exports, module) {
//TODO: chrome fail to read resource://
return chrome.extension.getURL(extPath);
}
+ if(isWin) {
+ return location.href.replace(/file:\/\/\//gi, "").replace(/index.html/gi, extPath);
+ }
return location.href.replace(/file:\/\//gi, "").replace(/index.html/gi, extPath);
}