Add "Process Manager" to menu

This commit is contained in:
Korbs 2024-12-05 13:12:41 -05:00
parent 972d168fce
commit 96be766ead
2 changed files with 6 additions and 2 deletions

View file

@ -1,7 +1,5 @@
const {app} = require('electron') const {app} = require('electron')
const {autoUpdater} = require("electron-updater") const {autoUpdater} = require("electron-updater")
const {MessageChannel, ProcessManager} = require('electron-re')
// ProcessManager.openWindow()
// Import Files // Import Files
let MainWindow = require('./window') let MainWindow = require('./window')

View file

@ -1,5 +1,6 @@
const {app, Menu} = require('electron') const {app, Menu} = require('electron')
let Platform = require('./platform') let Platform = require('./platform')
const {MessageChannel, ProcessManager} = require('electron-re')
module.exports = { module.exports = {
MainMenu: function () { MainMenu: function () {
@ -36,6 +37,11 @@ module.exports = {
} }
}, },
{ type: 'separator' }, { type: 'separator' },
{
label: "Process Manager",
click: () => {ProcessManager.openWindow()}
},
{ type: 'separator' },
{ {
label: "Quit", label: "Quit",
accelerator: "CmdOrCtrl+Q", accelerator: "CmdOrCtrl+Q",