Skip to content

Commit

Permalink
force user dir if jna temp dir is not set (#657)
Browse files Browse the repository at this point in the history
Signed-off-by: Andrey Parfenov <a1994ndrey@gmail.com>
  • Loading branch information
Andrey1994 committed Aug 1, 2023
1 parent 10a762b commit 968f420
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ public class JarHelper
{
public static Path unpack_from_jar (String lib_name)
{
File file = new File (lib_name);
String user_dir = System.getProperty ("user.dir");
File file = new File (user_dir, lib_name);
try
{
File temp_dir = get_temp_dir ();
Expand Down

0 comments on commit 968f420

Please sign in to comment.