Skip to content
This repository has been archived by the owner on Aug 22, 2024. It is now read-only.

Commit

Permalink
JNI FIX
Browse files Browse the repository at this point in the history
  • Loading branch information
4ra1n committed Aug 1, 2024
1 parent 68c7e98 commit eb547b9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/java/me/n1ar4/jar/obfuscator/utils/JNIUtil.java
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package me.n1ar4.jar.obfuscator.utils;

import me.n1ar4.jar.obfuscator.Const;
import me.n1ar4.jar.obfuscator.jvmti.Constants;

import java.io.ByteArrayOutputStream;
import java.io.InputStream;
Expand Down Expand Up @@ -83,7 +84,7 @@ public static boolean extractDllSo(String filename, String dir, boolean load) {
return false;
}
if (dir == null || dir.isEmpty()) {
dir = Const.TEMP_DIR;
dir = Constants.TempDir;
}
Path targetDir = Paths.get(dir);
Path outputFile;
Expand Down

0 comments on commit eb547b9

Please sign in to comment.