Commit e6319743 authored by nanahira's avatar nanahira

load children

parent c818af1c
......@@ -10,7 +10,7 @@ import * as $ from 'jquery';
import * as path from 'path';
import 'rxjs/Rx';
import {ISubscription} from 'rxjs/Subscription';
import {App} from './app';
import {App, AppStatus} from './app';
import {AppsService} from './apps.service';
import {LoginService} from './login.service';
import {SettingsService} from './settings.sevices';
......@@ -608,7 +608,8 @@ export class YGOProComponent implements OnInit, OnDestroy {
win.minimize();
await new Promise(async (resolve, reject) => {
let child = await this.app.spawnApp([], action, param);
const children = this.appsService.findChildren(this.app);
let child = await this.app.spawnApp(children, action, param);
child.on('error', (error) => {
reject(error);
win.restore();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment