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 {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')
|
||||||
|
|
|
@ -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",
|
||||||
|
|
Loading…
Reference in a new issue