mirror of
https://github.com/RipMeApp/ripme.git
synced 2025-08-28 16:19:58 +02:00
Network fix
This commit is contained in:
@@ -222,7 +222,8 @@ public class Utils {
|
||||
}
|
||||
|
||||
private static File getJarDirectory() {
|
||||
return new File(System.getProperty("java.class.path")).getParentFile();
|
||||
String[] classPath = System.getProperty("java.class.path").split(";");
|
||||
return classPath.length > 1 ? new File(System.getProperty("user.dir")) : new File(classPath[0]).getParentFile();
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user