mirror of
https://github.com/sascha-hemi/homeassistant-desktop.git
synced 2026-03-21 05:06:33 +01:00
chore: Replace "Reload Application" with "Restart Application" in the menu
This commit is contained in:
9
app.js
9
app.js
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user