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) } } : {} }, },