Commit c797aa20 authored by wudizhanche1000's avatar wudizhanche1000

Fix: 运行app时,不使用未安装的依赖

parent 2b37a193
...@@ -127,7 +127,9 @@ export class AppsService { ...@@ -127,7 +127,9 @@ export class AppsService {
let args: string[] = []; let args: string[] = [];
let env = {}; let env = {};
for (let child of children) { for (let child of children) {
action = child.actions.get('main'); if(child.isInstalled()) {
action = child.actions.get('main');
}
} }
let execute = path.join(cwd, action.execute); let execute = path.join(cwd, action.execute);
if (action.open) { if (action.open) {
......
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