File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,8 @@ class AndroidDebugService implements IDebugService {
25
25
private $errors : IErrors ,
26
26
private $opener : IOpener ,
27
27
private $staticConfig : IStaticConfig ,
28
- private $utils : IUtils ) { }
28
+ private $utils : IUtils ,
29
+ private $config : IConfiguration ) { }
29
30
30
31
private get platform ( ) { return "android" ; }
31
32
@@ -169,7 +170,7 @@ class AndroidDebugService implements IDebugService {
169
170
}
170
171
171
172
private openDebuggerClient ( url : string ) : void {
172
- let chrome = this . $hostInfo . isDarwin ? "Google\ Chrome" : "chrome" ;
173
+ let chrome = this . $hostInfo . isDarwin ? this . $config . ANDROID_DEBUG_UI_MAC : "chrome" ;
173
174
let child = this . $opener . open ( url , chrome ) ;
174
175
if ( ! child ) {
175
176
this . $errors . fail ( `Unable to open ${ chrome } .` ) ;
You can’t perform that action at this time.
0 commit comments