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 (
62
62
// Install HTTP Toolkit's extension, for advanced hook setup. Feature
63
63
// flagged for now as it's still new & largely untested.
64
64
? [
65
-
66
65
`--load-extension=${ WEBEXTENSION_INSTALL . path } `
67
66
]
68
67
: [ ]
@@ -236,8 +235,10 @@ abstract class ExistingChromiumBasedInterceptor implements Interceptor {
236
235
return proc . bin && (
237
236
// Find a binary that exactly matches the specific command:
238
237
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 } /` )
241
242
) ;
242
243
}
243
244
} ) ;
You can’t perform that action at this time.
0 commit comments