From 96be766ead8bba429c00714c811bb995f38cc1d1 Mon Sep 17 00:00:00 2001 From: Korbs Date: Thu, 5 Dec 2024 13:12:41 -0500 Subject: [PATCH] Add "Process Manager" to menu --- src/process/index.js | 2 -- src/process/menu.js | 6 ++++++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/process/index.js b/src/process/index.js index 6b1d598..abdab83 100644 --- a/src/process/index.js +++ b/src/process/index.js @@ -1,7 +1,5 @@ const {app} = require('electron') const {autoUpdater} = require("electron-updater") -const {MessageChannel, ProcessManager} = require('electron-re') -// ProcessManager.openWindow() // Import Files let MainWindow = require('./window') diff --git a/src/process/menu.js b/src/process/menu.js index daf7810..5f9d24f 100644 --- a/src/process/menu.js +++ b/src/process/menu.js @@ -1,5 +1,6 @@ const {app, Menu} = require('electron') let Platform = require('./platform') +const {MessageChannel, ProcessManager} = require('electron-re') module.exports = { MainMenu: function () { @@ -36,6 +37,11 @@ module.exports = { } }, { type: 'separator' }, + { + label: "Process Manager", + click: () => {ProcessManager.openWindow()} + }, + { type: 'separator' }, { label: "Quit", accelerator: "CmdOrCtrl+Q",