Merge pull request #232 from WebTools-NG/#231-Open-LogDir-folder-failes

Fixed #231
This commit is contained in:
Tommy Mikkelsen 2021-01-31 22:54:58 +01:00 committed by GitHub
commit 813fd2e9c7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 3 deletions

View file

@ -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

View file

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