Skip to content

Commit

Permalink
firefox nightly support
Browse files Browse the repository at this point in the history
  • Loading branch information
xKiian committed May 23, 2024
1 parent 500be1f commit 05ea83a
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
10 changes: 10 additions & 0 deletions src/interceptors/fresh-firefox.ts
Original file line number Diff line number Diff line change
Expand Up @@ -359,4 +359,14 @@ export class FreshFirefoxDeveloper extends Firefox {
constructor(config: HtkConfig) {
super(config, 'firefox-developer');
}
};

export class FreshFirefoxNightly extends Firefox {

id = 'fresh-firefox-nightly';
version = '1.1.0';

constructor(config: HtkConfig) {
super(config, 'firefox-nightly');
}
};
3 changes: 2 additions & 1 deletion src/interceptors/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { HtkConfig } from '../config';
import { addShutdownHandler } from '../shutdown';
import { ErrorLike } from '../util/error';

import {FreshFirefox, FreshFirefoxDeveloper} from './fresh-firefox';
import {FreshFirefox, FreshFirefoxDeveloper, FreshFirefoxNightly} from './fresh-firefox';
import {
FreshChrome,
ExistingChrome,
Expand Down Expand Up @@ -83,6 +83,7 @@ export function buildInterceptors(config: HtkConfig): _.Dictionary<Interceptor>
new FreshBrave(config),
new FreshFirefox(config),
new FreshFirefoxDeveloper(config),
new FreshFirefoxNightly(config),

new FreshTerminalInterceptor(config),
new ExistingTerminalInterceptor(config),
Expand Down

0 comments on commit 05ea83a

Please sign in to comment.