Add "Process Manager" to menu
This commit is contained in:
parent
972d168fce
commit
96be766ead
2 changed files with 6 additions and 2 deletions
|
@ -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')
|
||||
|
|
|
@ -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",
|
||||
|
|
Loading…
Reference in a new issue