Merge remote-tracking branch 'origin/develop' into develop

This commit is contained in:
Core 2022-03-10 17:31:02 +00:00
commit 6da8c3c2b6
No known key found for this signature in database
GPG key ID: FE9BF1B547F8F3C6
45 changed files with 11490 additions and 480 deletions

View file

@ -1,4 +1,5 @@
import {app, Menu, shell} from "electron";
import {utils} from "../base/utils";
export default class Thumbar {
/**
@ -76,13 +77,19 @@ export default class Thumbar {
label: 'Window',
submenu: [
{role: 'minimize'},
{
label: 'Show',
click: () => utils.getWindow().show()
},
{role: 'zoom'},
...(this.isMac ? [
{type: 'separator'},
{role: 'front'},
] : [
{role: 'close'}
{}
]),
{role: 'close'},
{type: 'separator'},
{
label: 'Edit',
submenu: [