Rebind 'Copy Current URL' to 'CmdOrCtrl+L' to mimic 'Open Location' in browsers
This commit is contained in:
parent
f388ef83c6
commit
e6454ca7a0
|
@ -44,7 +44,7 @@ function createMenu({nativefierVersion, appQuit, zoomIn, zoomOut, goBack, goForw
|
|||
},
|
||||
{
|
||||
label: 'Copy Current URL',
|
||||
accelerator: 'CmdOrCtrl+C',
|
||||
accelerator: 'CmdOrCtrl+L',
|
||||
click: () => {
|
||||
const currentURL = getCurrentUrl();
|
||||
clipboard.writeText(currentURL);
|
||||
|
|
Loading…
Reference in New Issue