2
2
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:
Huy Hong 2016-04-08 13:59:05 -07:00
parent f388ef83c6
commit e6454ca7a0

View File

@ -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);