Skip to content

Commit

Permalink
Merge pull request #1 from acoates-ms/fixFindEdge
Browse files Browse the repository at this point in the history
Edge is msedge.exe, not edge.exe
  • Loading branch information
cezaraugusto authored Feb 24, 2024
2 parents 055b8b8 + 74aad02 commit 4431607
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/edge-finder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -181,8 +181,8 @@ export function wsl() {
export function win32() {
const installations: Array<string> = [];
const suffixes = [
`${path.sep}Microsoft${path.sep}Edge SxS${path.sep}Application${path.sep}edge.exe`,
`${path.sep}Microsoft${path.sep}Edge${path.sep}Application${path.sep}edge.exe`
`${path.sep}Microsoft${path.sep}Edge SxS${path.sep}Application${path.sep}msedge.exe`,
`${path.sep}Microsoft${path.sep}Edge${path.sep}Application${path.sep}msedge.exe`
];
const prefixes = [
process.env.LOCALAPPDATA, process.env.PROGRAMFILES, process.env['PROGRAMFILES(X86)']
Expand Down

0 comments on commit 4431607

Please sign in to comment.