Skip to content

Commit

Permalink
feat: add chrome beta and dev channels
Browse files Browse the repository at this point in the history
  • Loading branch information
connor4312 committed Oct 30, 2020
1 parent c5f4a40 commit fa18b60
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/darwinChrome.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,14 @@ export class DarwinChromeBrowserFinder extends DarwinFinderBase {
path: '/Applications/Google Chrome Canary.app/Contents/MacOS/Google Chrome Canary',
quality: Quality.Canary,
},
{
path: '/Applications/Google Chrome Beta.app/Contents/MacOS/Google Chrome Beta',
quality: Quality.Beta,
},
{
path: '/Applications/Google Chrome Dev.app/Contents/MacOS/Google Chrome Dev',
quality: Quality.Dev,
},
];

/**
Expand Down
8 changes: 8 additions & 0 deletions src/windowsChrome.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,18 @@ export class WindowsChromeBrowserFinder implements IBrowserFinder {
public async findAll() {
const sep = win32.sep;
const suffixes = [
{
name: `${sep}Google${sep}Chrome Dev${sep}Application${sep}chrome.exe`,
type: Quality.Dev,
},
{
name: `${sep}Google${sep}Chrome SxS${sep}Application${sep}chrome.exe`,
type: Quality.Canary,
},
{
name: `${sep}Google${sep}Chrome Beta${sep}Application${sep}chrome.exe`,
type: Quality.Beta,
},
{
name: `${sep}Google${sep}Chrome${sep}Application${sep}chrome.exe`,
type: Quality.Stable,
Expand Down

0 comments on commit fa18b60

Please sign in to comment.