added logging into pick app to install
This commit is contained in:
@@ -306,12 +306,14 @@ export class HeaderComponent implements OnInit {
|
|||||||
this.appService.remote.getCurrentWindow().toggleDevTools();
|
this.appService.remote.getCurrentWindow().toggleDevTools();
|
||||||
}
|
}
|
||||||
selectAppToInstall() {
|
selectAppToInstall() {
|
||||||
|
console.log('selectAppToInstall');
|
||||||
this.appService.electron.remote.dialog.showOpenDialog(
|
this.appService.electron.remote.dialog.showOpenDialog(
|
||||||
{
|
{
|
||||||
properties: ['openFile', 'multiSelections'],
|
properties: ['openFile', 'multiSelections'],
|
||||||
defaultPath: this.adbService.savePath,
|
defaultPath: this.adbService.savePath,
|
||||||
},
|
},
|
||||||
files => {
|
files => {
|
||||||
|
console.log('done!');
|
||||||
files.forEach(filepath => {
|
files.forEach(filepath => {
|
||||||
this.adbService.savePath = this.appService.path.dirname(filepath);
|
this.adbService.savePath = this.appService.path.dirname(filepath);
|
||||||
let install = this.adbService.installMultiFile(filepath);
|
let install = this.adbService.installMultiFile(filepath);
|
||||||
|
|||||||
Reference in New Issue
Block a user