TagSpaces is an offline, open source, document manager with tagging support
close current window
kristiyanddd86957014b22
diff --git a/data/electron/electron.api.js b/data/electron/electron.api.jsindex cdc5389dd..0aa103c9d 100644--- a/data/electron/electron.api.js+++ b/data/electron/electron.api.js@@ -134,6 +134,14 @@ define(function(require, exports, module) {{type: 'separator'},+ {+ label: $.i18n.t("ns.common:closeWin"),+ accelerator: '',+ click: function() {+ TSCORE.Config.saveSettings();+ win.destroy();+ }+ },{label: $.i18n.t("ns.common:exitApp"),accelerator: '',diff --git a/data/electron/main.js b/data/electron/main.jsindex 48074a511..a83f46b5f 100644--- a/data/electron/main.js+++ b/data/electron/main.js@@ -139,7 +139,6 @@ app.on('ready', function(event) {trayIconPath = 'Contents/Resources/app/assets/trayicon.png';} else if (process.platform === 'win32') {trayIconPath = 'resources/app/assets/trayicon.png';- trayIconPath = 'assets/trayicon.png';} else {trayIconPath = 'resources/app/assets/trayicon.png';}diff --git a/data/locales/en_US/ns.common.json b/data/locales/en_US/ns.common.jsonindex 6b1fc7f2e..8eedab001 100644--- a/data/locales/en_US/ns.common.json+++ b/data/locales/en_US/ns.common.json@@ -250,6 +250,7 @@"createDirectory":"New Directory","alertOpenLocatioFirst":"Please open a location first!","exitApp":"Exit",+ "closeWin":"Close Window","openNewInstance":"New Application Window","documentation":"Documentation","selectFile": "Please select a file first.",