added logging into pick app to install

This commit is contained in:
Shane Harris
2020-10-14 16:21:00 +01:00
parent c6b832aff3
commit d54fde6b5b
@@ -306,12 +306,14 @@ export class HeaderComponent implements OnInit {
this.appService.remote.getCurrentWindow().toggleDevTools();
}
selectAppToInstall() {
console.log('selectAppToInstall');
this.appService.electron.remote.dialog.showOpenDialog(
{
properties: ['openFile', 'multiSelections'],
defaultPath: this.adbService.savePath,
},
files => {
console.log('done!');
files.forEach(filepath => {
this.adbService.savePath = this.appService.path.dirname(filepath);
let install = this.adbService.installMultiFile(filepath);