TagSpaces is an offline, open source, document manager with tagging support
preparing migration to nw.js 0.13
uggrock3e7ec8f32b04
diff --git a/data/loader.js b/data/loader.jsindex 4dde744be..50f71fee1 100644--- a/data/loader.js+++ b/data/loader.js@@ -49,10 +49,12 @@ var isWin = navigator.appVersion.indexOf("Win")!==-1;if( isFirefox ) {IO_JS = "mozilla/mozilla.api";PRO_JS = 'js/pro';- } else if ( isChrome ) {+ } else if ( isChrome && !isNode ) {+ isNode = false;IO_JS = "chromium/chrome.api";PRO_JS = 'js/pro';} else if (isNode){+ isChrome = false;IO_JS = "node-webkit/node-webkit.api";} else if (isCordova){IO_JS = "cordova/cordova.api";