fix: 调整 job 执行流程
1.使用 zip4j 实现文件压缩
This commit is contained in:
@@ -819,6 +819,15 @@ public class AdbUtil {
|
||||
log.info("[deleteAcl] [protocol: {}] [ip: {}] [port: {}] [result: {}]", protocol, ip, port, result);
|
||||
}
|
||||
|
||||
public CommandResult clearAppData(String packageName) {
|
||||
String result = commandExec.exec(AdbCommandBuilder.builder()
|
||||
.serial(this.getSerial())
|
||||
.buildClearAppDateCommand(packageName)
|
||||
.build());
|
||||
log.info("[clearAppData] [packageName: {}]", packageName);
|
||||
return new CommandResult(T.StrUtil.containsAny(result, "Success") ? 0 : 1, result);
|
||||
}
|
||||
|
||||
/**
|
||||
* flushAcl
|
||||
* iptables -F ASW_OUTPUT
|
||||
|
||||
Reference in New Issue
Block a user