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

Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
This commit is contained in:
trop[bot]
2020-05-22 00:55:25 -07:00
committed by GitHub
parent f8508b3c18
commit 1fb11e1e76
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',