TagSpaces is an offline, open source, document manager with tagging support
fixing open files on osx
uggrockf77cc2ed5b76
diff --git a/data/electron/electron.api.js b/data/electron/electron.api.jsindex 1c47fb0ce..26a00f7c3 100644--- a/data/electron/electron.api.js+++ b/data/electron/electron.api.js@@ -836,7 +836,11 @@ define(function(require, exports, module) {*/function openFile(filePath) {// opens file with the native program- electron.shell.openItem(filePath);+ if (isElectron && isOSX && (filePath.indexOf("http") === 0)) {+ electron.shell.openExternal(filePath);+ } else {+ electron.shell.openItem(filePath);+ }}// Platform specific calls