mac - fixed command+C, command+v

This commit is contained in:
Jan Prochazka
2022-04-18 10:42:50 +02:00
parent f78d37159e
commit 0122b0accc
6 changed files with 84 additions and 7 deletions

View File

@@ -1,4 +1,4 @@
module.exports = [
module.exports = ({ editMenu }) => [
{
label: 'File',
submenu: [
@@ -34,6 +34,20 @@ module.exports = [
],
},
editMenu
? {
label: 'Edit',
submenu: [
{ command: 'edit.undo' },
{ command: 'edit.redo' },
{ divider: true },
{ command: 'edit.cut' },
{ command: 'edit.copy' },
{ command: 'edit.paste' },
],
}
: null,
// {
// label: 'Edit',
// submenu: [