@@ -7,10 +7,9 @@ import {
7
7
Board ,
8
8
} from '../../common/protocol/boards-service' ;
9
9
import { BoardsServiceProvider } from './boards-service-provider' ;
10
- import { BoardsListWidgetFrontendContribution } from './boards-widget-frontend-contribution' ;
11
10
import { BoardsConfig } from './boards-config' ;
12
- import { Installable } from '../../common/protocol' ;
13
- import { ResponseServiceImpl } from '../response-service-impl ' ;
11
+ import { Installable , ResponseServiceArduino } from '../../common/protocol' ;
12
+ import { BoardsListWidgetFrontendContribution } from './boards-widget-frontend-contribution ' ;
14
13
15
14
/**
16
15
* Listens on `BoardsConfig.Config` changes, if a board is selected which does not
@@ -27,8 +26,8 @@ export class BoardsAutoInstaller implements FrontendApplicationContribution {
27
26
@inject ( BoardsServiceProvider )
28
27
protected readonly boardsServiceClient : BoardsServiceProvider ;
29
28
30
- @inject ( ResponseServiceImpl )
31
- protected readonly responseService : ResponseServiceImpl ;
29
+ @inject ( ResponseServiceArduino )
30
+ protected readonly responseService : ResponseServiceArduino ;
32
31
33
32
@inject ( BoardsListWidgetFrontendContribution )
34
33
protected readonly boardsManagerFrontendContribution : BoardsListWidgetFrontendContribution ;
@@ -97,6 +96,7 @@ export class BoardsAutoInstaller implements FrontendApplicationContribution {
97
96
this . notifications . splice ( index , 1 ) ;
98
97
}
99
98
if ( answer === 'Yes' ) {
99
+ this . messageService . log ( 'Installing package...' ) ;
100
100
await Installable . installWithProgress ( {
101
101
installable : this . boardsService ,
102
102
item : candidate ,
@@ -106,7 +106,7 @@ export class BoardsAutoInstaller implements FrontendApplicationContribution {
106
106
} ) ;
107
107
return ;
108
108
}
109
- if ( answer ) {
109
+ if ( answer === 'Install Manually' ) {
110
110
this . boardsManagerFrontendContribution
111
111
. openView ( { reveal : true } )
112
112
. then ( ( widget ) =>
0 commit comments