Fix menu-item using deprecated API
Fix menu-item using deprecated API

Some of the roles in menu-item use methods on BrowserWindow instead of
WebContents which outputs a deprecation warning.
I changed it to use the correct methods.

joaomoreno/atom-shell,simongregory/electron,stevekinney/electron,minggo/electron,twolfson/electron,lzpfmh/electron,Gerhut/electron,MaxWhere/electron,lzpfmh/electron,kcrt/electron,Evercoder/electron,voidbridge/electron,electron/electron,felixrieseberg/electron,wan-qy/electron,rreimann/electron,joaomoreno/atom-shell,MaxWhere/electron,seanchas116/electron,etiktin/electron,voidbridge/electron,minggo/electron,Evercoder/electron,gerhardberger/electron,jaanus/electron,etiktin/electron,miniak/electron,ankitaggarwal011/electron,posix4e/electron,leethomas/electron,preco21/electron,rajatsingla28/electron,kcrt/electron,gabriel/electron,bpasero/electron,aliib/electron,the-ress/electron,stevekinney/electron,bpasero/electron,biblerule/UMCTelnetHub,jhen0409/electron,thingsinjars/electron,rreimann/electron,roadev/electron,noikiy/electron,simongregory/electron,simongregory/electron,posix4e/electron,brave/muon,leftstick/electron,lzpfmh/electron,gabriel/electron,simongregory/electron,astoilkov/electron,thingsinjars/electron,thomsonreuters/electron,bbondy/electron,thomsonreuters/electron,Floato/electron,dongjoon-hyun/electron,rreimann/electron,aichingm/electron,leethomas/electron,brenca/electron,shiftkey/electron,gerhardberger/electron,lzpfmh/electron,voidbridge/electron,tinydew4/electron,posix4e/electron,astoilkov/electron,biblerule/UMCTelnetHub,the-ress/electron,renaesop/electron,wan-qy/electron,brave/electron,kcrt/electron,gabriel/electron,kcrt/electron,leethomas/electron,ankitaggarwal011/electron,Evercoder/electron,aichingm/electron,deed02392/electron,preco21/electron,brenca/electron,Evercoder/electron,evgenyzinoviev/electron,renaesop/electron,leftstick/electron,thomsonreuters/electron,leftstick/electron,etiktin/electron,astoilkov/electron,biblerule/UMCTelnetHub,bbondy/electron,Gerhut/electron,rreimann/electron,brave/electron,jhen0409/electron,the-ress/electron,posix4e/electron,brave/muon,jaanus/electron,voidbridge/electron,jhen0409/electron,etiktin/electron,MaxWhere/electron,kokdemo/electron,pombredanne/electron,tinydew4/electron,thompsonemerson/electron,the-ress/electron,tylergibson/electron,miniak/electron,aliib/electron,voidbridge/electron,thompsonemerson/electron,deed02392/electron,jaanus/electron,etiktin/electron,jaanus/electron,MaxWhere/electron,voidbridge/electron,leethomas/electron,brave/electron,aichingm/electron,electron/electron,miniak/electron,tonyganch/electron,brenca/electron,thompsonemerson/electron,jhen0409/electron,twolfson/electron,Gerhut/electron,brave/muon,aichingm/electron,twolfson/electron,stevekinney/electron,electron/electron,noikiy/electron,tylergibson/electron,thingsinjars/electron,evgenyzinoviev/electron,evgenyzinoviev/electron,rajatsingla28/electron,deed02392/electron,wan-qy/electron,simongregory/electron,rajatsingla28/electron,minggo/electron,roadev/electron,astoilkov/electron,evgenyzinoviev/electron,tinydew4/electron,biblerule/UMCTelnetHub,gerhardberger/electron,stevekinney/electron,thomsonreuters/electron,aliib/electron,biblerule/UMCTelnetHub,kokdemo/electron,joaomoreno/atom-shell,kcrt/electron,Floato/electron,Floato/electron,stevekinney/electron,posix4e/electron,thingsinjars/electron,bpasero/electron,twolfson/electron,leftstick/electron,deed02392/electron,tinydew4/electron,dongjoon-hyun/electron,rajatsingla28/electron,arturts/electron,the-ress/electron,shiftkey/electron,shiftkey/electron,brave/muon,brenca/electron,aliib/electron,thompsonemerson/electron,MaxWhere/electron,simongregory/electron,roadev/electron,brave/muon,seanchas116/electron,arturts/electron,leethomas/electron,gabriel/electron,jaanus/electron,minggo/electron,joaomoreno/atom-shell,Floato/electron,evgenyzinoviev/electron,aichingm/electron,jhen0409/electron,seanchas116/electron,preco21/electron,arturts/electron,the-ress/electron,deed02392/electron,ankitaggarwal011/electron,aliib/electron,rajatsingla28/electron,bbondy/electron,renaesop/electron,electron/electron,Gerhut/electron,noikiy/electron,aichingm/electron,thingsinjars/electron,brave/electron,bpasero/electron,aliib/electron,seanchas116/electron,deed02392/electron,evgenyzinoviev/electron,bpasero/electron,dongjoon-hyun/electron,electron/electron,stevekinney/electron,kokdemo/electron,jhen0409/electron,brenca/electron,Gerhut/electron,felixrieseberg/electron,pombredanne/electron,tinydew4/electron,seanchas116/electron,Floato/electron,roadev/electron,brave/muon,astoilkov/electron,shiftkey/electron,miniak/electron,twolfson/electron,tylergibson/electron,tonyganch/electron,tinydew4/electron,joaomoreno/atom-shell,miniak/electron,arturts/electron,pombredanne/electron,gerhardberger/electron,electron/electron,miniak/electron,posix4e/electron,tylergibson/electron,kokdemo/electron,shiftkey/electron,felixrieseberg/electron,leftstick/electron,preco21/electron,renaesop/electron,dongjoon-hyun/electron,pombredanne/electron,pombredanne/electron,dongjoon-hyun/electron,astoilkov/electron,minggo/electron,Evercoder/electron,bpasero/electron,etiktin/electron,bbondy/electron,thompsonemerson/electron,jaanus/electron,gabriel/electron,kcrt/electron,wan-qy/electron,rreimann/electron,lzpfmh/electron,arturts/electron,tonyganch/electron,tonyganch/electron,lzpfmh/electron,noikiy/electron,biblerule/UMCTelnetHub,gerhardberger/electron,thingsinjars/electron,joaomoreno/atom-shell,noikiy/electron,brave/electron,brave/electron,the-ress/electron,wan-qy/electron,Gerhut/electron,noikiy/electron,MaxWhere/electron,shiftkey/electron,gerhardberger/electron,thompsonemerson/electron,rajatsingla28/electron,bbondy/electron,gerhardberger/electron,felixrieseberg/electron,seanchas116/electron,ankitaggarwal011/electron,tylergibson/electron,electron/electron,dongjoon-hyun/electron,renaesop/electron,pombredanne/electron,gabriel/electron,bbondy/electron,brenca/electron,leethomas/electron,wan-qy/electron,thomsonreuters/electron,felixrieseberg/electron,Evercoder/electron,rreimann/electron,felixrieseberg/electron,thomsonreuters/electron,twolfson/electron,arturts/electron,roadev/electron,preco21/electron,roadev/electron,tonyganch/electron,kokdemo/electron,ankitaggarwal011/electron,kokdemo/electron,minggo/electron,Floato/electron,tylergibson/electron,ankitaggarwal011/electron,leftstick/electron,tonyganch/electron,bpasero/electron,renaesop/electron,preco21/electron