chore: Replace "Reload Application" with "Restart Application" in the menu

This commit is contained in:
Ivan Prodanov
2022-10-01 17:39:50 +03:00
parent eb0fddc875
commit 4f5210e24e

9
app.js
View File

@@ -374,11 +374,10 @@ function getMenu() {
type: 'separator',
},
{
label: 'Reload Window',
label: 'Restart Application',
click: () => {
mainWindow.reload();
mainWindow.show();
mainWindow.focus();
app.relaunch();
app.exit();
},
},
{
@@ -400,8 +399,6 @@ function getMenu() {
config.delete('windowPosition');
config.delete('fullScreen');
config.delete('detachedMode');
app.relaunch();
app.exit();
}
app.relaunch();