launcher: disable unstable Relaunch context menu action

This commit is contained in:
bordun 2020-02-24 10:40:32 +01:00
parent f97ce68882
commit 8b8ed54a48
2 changed files with 11 additions and 9 deletions

View file

@ -5,6 +5,7 @@
- bug fixes
- windows users launching the app from a terminal now need to add a double dash (--) before their options
- launcher: disabled unstable `Relaunch` action
## 0.49.5

View file

@ -271,15 +271,16 @@ $(document).ready(()=>{
}
})
]}))
menu.append(new MenuItem({type: 'submenu' , label: 'App', submenu: [
new MenuItem({
label: 'Relaunch',
click: ()=>{
app.relaunch()
app.exit(0)
}
}),
]}))
// not working currently
// menu.append(new MenuItem({type: 'submenu' , label: 'App', submenu: [
// new MenuItem({
// label: 'Relaunch',
// click: ()=>{
// app.relaunch()
// app.exit(0)
// }
// }),
// ]}))
window.addEventListener('contextmenu', function(e) {