Skip to content

Commit

Permalink
Fixed Google Search URL
Browse files Browse the repository at this point in the history
  • Loading branch information
saenzramiro authored Jul 16, 2021
1 parent 6b27ce0 commit 76247dd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/context-menu-builder.js
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ class ContextMenuBuilder {
let search = new MenuItem({
label: this.stringTable.searchGoogle(),
click: () => {
let url = `https://www.google.com/#q=${encodeURIComponent(menuInfo.selectionText)}`;
let url = `https://www.google.com/search?q=${encodeURIComponent(menuInfo.selectionText)}`;

//d(`Searching Google using ${url}`);
shell.openExternal(url);
Expand Down Expand Up @@ -422,4 +422,4 @@ class ContextMenuBuilder {
}
}

module.exports = ContextMenuBuilder;
module.exports = ContextMenuBuilder;

0 comments on commit 76247dd

Please sign in to comment.