From 58f1594d9efadd76a5877786295075c70dfe5639 Mon Sep 17 00:00:00 2001 From: Feross Aboukhadijeh Date: Sat, 14 May 2016 01:51:47 -0700 Subject: [PATCH] Fix missing 'About WebTorrent' menu item --- main/menu.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main/menu.js b/main/menu.js index 8b7163a5..4ff4e064 100644 --- a/main/menu.js +++ b/main/menu.js @@ -199,7 +199,7 @@ function getAppMenuTemplate () { type: 'separator' }, { - label: process.platform === 'windows' + label: process.platform === 'win32' ? 'Close' : 'Close Window', accelerator: 'CmdOrCtrl+W', @@ -388,7 +388,7 @@ function getAppMenuTemplate () { } // In Linux and Windows it is not possible to open both folders and files - if (process.platform === 'linux' || process.platform === 'windows') { + if (process.platform === 'linux' || process.platform === 'win32') { // File menu (Windows, Linux) template[0].submenu.unshift({ label: 'Create New Torrent from File...',