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:
parent
27914ef13b
commit
2e08eea43d
1 changed files with 0 additions and 12 deletions
12
main/menu.js
12
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'
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue