|
|
|
@ -30,9 +30,14 @@ public class InstallUtils {
|
|
|
|
|
* 安装组件包 |
|
|
|
|
*/ |
|
|
|
|
public static boolean installReusFile(File chosenFile, long installTime, List<String> list) { |
|
|
|
|
return installReusFile(chosenFile, installTime, list, o -> { |
|
|
|
|
InstallResult installResult = installReusFile(chosenFile, installTime, list, o -> { |
|
|
|
|
//do nothing
|
|
|
|
|
}).installStatus; |
|
|
|
|
}); |
|
|
|
|
Group group = installResult.group; |
|
|
|
|
if (group.getAllBindInfoList().length == 0) { |
|
|
|
|
DefaultShareGroupManager.getInstance().removeGroup(group); |
|
|
|
|
} |
|
|
|
|
return installResult.installStatus; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|