Added macOS MenuBar (+ accel, actions, git links)

This commit is contained in:
child_duckling 2022-02-04 23:03:24 -08:00
parent 93483ad903
commit 14e17df325
4 changed files with 133 additions and 3 deletions

View file

@ -1005,7 +1005,7 @@ const app = new Vue({
})
},
copyToClipboard(str) {
if (navigator.userAgent.includes('Darwin')) {
if (navigator.userAgent.includes('Darwin') || navigator.appVersion.indexOf("Mac")!=-1) {
this.darwinShare(str)
} else {
notyf.success(app.getLz('term.share.success'))