2
2
mirror of https://github.com/Llewellynvdm/nativefier.git synced 2024-11-05 04:47:54 +00:00

Merge pull request #181 from huyhong/development

Rebind 'Copy Current URL' to 'CmdOrCtrl+L' to mimic 'Open Location'
This commit is contained in:
Jia Hao 2016-04-17 12:52:54 +08:00
commit f520626d33

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