mirror of https://github.com/jiahaog/Nativefier
Rename 'Open in default browser' contextMenu to 'Open with default browser' (#338)
`Open with` more popular and familiar rather than `Open in`
This commit is contained in:
parent
a540326237
commit
df585cbe59
|
@ -4,7 +4,7 @@ function initContextMenu(mainWindow) {
|
||||||
ipcMain.on('contextMenuOpened', (event, targetHref) => {
|
ipcMain.on('contextMenuOpened', (event, targetHref) => {
|
||||||
const contextMenuTemplate = [
|
const contextMenuTemplate = [
|
||||||
{
|
{
|
||||||
label: 'Open in default browser',
|
label: 'Open with default browser',
|
||||||
click: () => {
|
click: () => {
|
||||||
if (targetHref) {
|
if (targetHref) {
|
||||||
shell.openExternal(targetHref);
|
shell.openExternal(targetHref);
|
||||||
|
|
Loading…
Reference in New Issue