File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -62,7 +62,6 @@ const getChromiumLaunchOptions = async (
6262 // Install HTTP Toolkit's extension, for advanced hook setup. Feature
6363 // flagged for now as it's still new & largely untested.
6464 ? [
65-
6665 `--load-extension=${ WEBEXTENSION_INSTALL . path } `
6766 ]
6867 : [ ]
@@ -236,8 +235,10 @@ abstract class ExistingChromiumBasedInterceptor implements Interceptor {
236235 return proc . bin && (
237236 // Find a binary that exactly matches the specific command:
238237 proc . bin === browserDetails . command ||
239- // Or whose binary who's matches the path for this specific variant:
240- proc . bin . includes ( `${ browserDetails . name } /${ browserDetails . type } ` )
238+ // Or who matches the path for this specific variant:
239+ proc . bin . includes ( `${ browserDetails . name } /${ browserDetails . type } ` ) ||
240+ // Or the snap for this variant:
241+ proc . bin . includes ( `/snap/${ browserDetails . name } /` )
241242 ) ;
242243 }
243244 } ) ;
You can’t perform that action at this time.
0 commit comments