From 2e08eea43d7f125b978633f1543dae51a199cc47 Mon Sep 17 00:00:00 2001 From: DC Date: Wed, 6 Apr 2016 03:02:31 -0700 Subject: [PATCH] Remove Developer > Reload It will leave the app in a bad state, now that we hae a separate WebTorrent process --- main/menu.js | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/main/menu.js b/main/menu.js index 75a8e5ef..acf9010e 100644 --- a/main/menu.js +++ b/main/menu.js @@ -70,13 +70,6 @@ function showWebTorrentWindow () { windows.webtorrent.webContents.openDevTools({ detach: true }) } -function reloadWindow () { - log('reloadWindow') - if (windows.main) { - windows.main.webContents.reloadIgnoringCache() - } -} - function addFakeDevice (device) { log('addFakeDevice %s', device) windows.main.send('addFakeDevice', device) @@ -257,11 +250,6 @@ function getAppMenuTemplate () { { label: 'Developer', submenu: [ - { - label: 'Reload', - accelerator: 'CmdOrCtrl+R', - click: reloadWindow - }, { label: 'Developer Tools', accelerator: process.platform === 'darwin'