Remove "Add Fake Airplay/Chromecast" menu items (#411)

This commit is contained in:
Feross Aboukhadijeh
2016-04-14 19:42:25 -07:00
parent af2ad46958
commit 5e6e5fce1e
2 changed files with 0 additions and 24 deletions

View File

@@ -70,11 +70,6 @@ function showWebTorrentWindow () {
windows.webtorrent.webContents.openDevTools({ detach: true })
}
function addFakeDevice (device) {
log('addFakeDevice %s', device)
windows.main.send('addFakeDevice', device)
}
function onWindowShow () {
log('onWindowShow')
getMenuItem('Full Screen').enabled = true
@@ -263,17 +258,6 @@ function getAppMenuTemplate () {
? 'Alt+Command+P'
: 'Ctrl+Shift+P',
click: showWebTorrentWindow
},
{
type: 'separator'
},
{
label: 'Add Fake Airplay',
click: () => addFakeDevice('airplay')
},
{
label: 'Add Fake Chromecast',
click: () => addFakeDevice('chromecast')
}
]
}