Added start/stop control to Unity process
This commit is contained in:
@@ -44,20 +44,20 @@ export class MenuBar {
|
||||
this.restartInstallation();
|
||||
},
|
||||
},
|
||||
{
|
||||
type: 'icon',
|
||||
text: 'Shutdown',
|
||||
materialIcon: 'power_settings_new',
|
||||
uniqueIdentifier: 'shutdown_installation',
|
||||
// {
|
||||
// type: 'icon',
|
||||
// text: 'Shutdown',
|
||||
// materialIcon: 'power_settings_new',
|
||||
// uniqueIdentifier: 'shutdown_installation',
|
||||
|
||||
click: async () => {
|
||||
const mobileMenu: HTMLDivElement =
|
||||
document.querySelector('.mux_mobilemenu');
|
||||
mobileMenu?.click();
|
||||
// click: async () => {
|
||||
// const mobileMenu: HTMLDivElement =
|
||||
// document.querySelector('.mux_mobilemenu');
|
||||
// mobileMenu?.click();
|
||||
|
||||
this.shutdownInstallation();
|
||||
},
|
||||
},
|
||||
// this.shutdownInstallation();
|
||||
// },
|
||||
// },
|
||||
],
|
||||
right: [
|
||||
{
|
||||
@@ -84,20 +84,20 @@ export class MenuBar {
|
||||
this.restartInstallation();
|
||||
},
|
||||
},
|
||||
{
|
||||
type: 'normal',
|
||||
text: 'Shutdown',
|
||||
materialIcon: 'power_settings_new',
|
||||
uniqueIdentifier: 'shutdown_installation',
|
||||
// {
|
||||
// type: 'normal',
|
||||
// text: 'Shutdown',
|
||||
// materialIcon: 'power_settings_new',
|
||||
// uniqueIdentifier: 'shutdown_installation',
|
||||
|
||||
click: async () => {
|
||||
const mobileMenu: HTMLDivElement =
|
||||
document.querySelector('.mux_mobilemenu');
|
||||
mobileMenu?.click();
|
||||
// click: async () => {
|
||||
// const mobileMenu: HTMLDivElement =
|
||||
// document.querySelector('.mux_mobilemenu');
|
||||
// mobileMenu?.click();
|
||||
|
||||
this.shutdownInstallation();
|
||||
},
|
||||
},
|
||||
// this.shutdownInstallation();
|
||||
// },
|
||||
// },
|
||||
{
|
||||
type: 'normal',
|
||||
text: 'Dashboard',
|
||||
|
||||
Reference in New Issue
Block a user