launcher: disable unstable Relaunch context menu action
This commit is contained in:
parent
2a9989b696
commit
d38553f17b
2 changed files with 11 additions and 9 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue