fix: trigger about panel for about role on on win (#23687)

This commit is contained in:
Shelley Vohr 2020-05-21 15:38:26 -07:00 committed by GitHub
parent 5ed2512881
commit 78d74bf8b4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View file

@ -10,7 +10,8 @@ const roles = {
about: {
get label () {
return isLinux ? 'About' : `About ${app.name}`;
}
},
...(isWindows && { appMethod: 'showAboutPanel' })
},
close: {
label: isMac ? 'Close Window' : 'Close',