mirror of
https://ark.sudovanilla.org/Korbs/Penpot-Desktop.git
synced 2024-12-22 13:23:54 +00:00
Add "Process Manager" to menu
This commit is contained in:
parent
972d168fce
commit
96be766ead
|
@ -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