Remove Developer > Reload

It will leave the app in a bad state, now that we hae a separate WebTorrent process
This commit is contained in:
DC
2016-04-06 03:02:31 -07:00
parent 27914ef13b
commit 2e08eea43d

View File

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