mirror of
https://github.com/Llewellynvdm/nativefier.git
synced 2024-12-23 02:28:55 +00:00
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
Block a user