forked from fanruan/design
Fangjie Hu
8 years ago
3 changed files with 20 additions and 9 deletions
@ -1,13 +1,15 @@ |
|||||||
package com.fr.design.extra.plugindependence; |
package com.fr.design.extra.plugindependence; |
||||||
|
|
||||||
|
import com.fr.plugin.dependence.PluginDependenceType; |
||||||
|
|
||||||
/** |
/** |
||||||
* Created by hufan on 2016/8/31. |
* Created by hufan on 2016/8/31. |
||||||
*/ |
*/ |
||||||
|
|
||||||
|
|
||||||
public class PluginDependenceUtils { |
public class PluginDependenceUtils { |
||||||
public static boolean installDependenceOnline(String currentID, String dependenceID, String dependenceDir) { |
public static boolean installDependenceOnline(String currentID, String dependenceID, PluginDependenceType dependenceType, String dependenceDir) { |
||||||
DownLoadDependenceUI ui = new DownLoadDependenceUI(currentID, dependenceID, dependenceDir); |
DownLoadDependenceUI ui = new DownLoadDependenceUI(currentID, dependenceID, dependenceType, dependenceDir); |
||||||
return ui.installOnline(); |
return ui.installOnline(); |
||||||
} |
} |
||||||
} |
} |
||||||
|
Loading…
Reference in new issue