From 443707aee9d19f2ca8d5c0f2849c11ed81248fbe Mon Sep 17 00:00:00 2001 From: UKDTOM Date: Sun, 31 Jan 2021 22:51:51 +0100 Subject: [PATCH] Fixed #231 --- CHANGELOG.md | 1 + src/components/layout/script/menubar.js | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8b8307f..7662e47 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,7 @@ * [#229 Bump electron from 7.3.3 to 9.4.0](https://github.com/WebTools-NG/WebTools-NG/pull/229) * [#227 ET Export filename](https://github.com/WebTools-NG/WebTools-NG/pull/227) +* [#231 Open LogDir folder failes](https://github.com/WebTools-NG/WebTools-NG/pull/231) ## V0.1.13 diff --git a/src/components/layout/script/menubar.js b/src/components/layout/script/menubar.js index 480af1f..d5d9787 100644 --- a/src/components/layout/script/menubar.js +++ b/src/components/layout/script/menubar.js @@ -17,18 +17,18 @@ const menuTemplate = [ wtutils.isMac ? { label: i18n.t("Common.Menu.File.menuOpenLogDir"), - click: () => { shell.openItem(wtutils.LogMac) } + click: () => { shell.openPath(wtutils.LogMac) } } : { ...wtutils.isLinux ? { label: i18n.t("Common.Menu.File.menuOpenLogDir"), - click: () => { shell.openItem(wtutils.LogLinux) } + click: () => { shell.openPath(wtutils.LogLinux) } } : { ...wtutils.isWindows ? { label: i18n.t("Common.Menu.File.menuOpenLogDir"), - click: () => { shell.openItem(wtutils.LogWin) } + click: () => { shell.openPath(wtutils.LogWin) } } : {} }, },