Commit f8c40934 authored by Administrator's avatar Administrator

update toolkit

parent 33c76c49
......@@ -8,7 +8,6 @@ import com.virjar.ratel.api.rposed.RC_MethodHook;
import com.virjar.ratel.api.rposed.RposedHelpers;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.lang.reflect.Constructor;
......@@ -118,7 +117,7 @@ public class UnPackerToolKit {
*
* @return 一个apk文件,该文件包括代码和资源,但是没有签名,无法直接运行
*/
public File constructUnpackedApk() {
public static File constructUnpackedApk() {
try {
return constructUnpackedApkInternal();
} catch (IOException e) {
......@@ -129,7 +128,7 @@ public class UnPackerToolKit {
public static final Pattern classesIndexPattern = Pattern.compile("classes(\\d+)\\.dex");
private File constructUnpackedApkInternal() throws IOException {
private static File constructUnpackedApkInternal() throws IOException {
File workDir = RatelToolKit.ratelUnpack.getWorkDir();
if (workDir == null || !workDir.exists()) {
return null;
......
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