mirror of
https://github.com/GravitLauncher/Launcher
synced 2024-11-15 11:39:11 +03:00
[FEATURE] ClientService.nativesPath
This commit is contained in:
parent
160219c36b
commit
7d5b912c3c
2 changed files with 2 additions and 0 deletions
|
@ -6,5 +6,6 @@
|
||||||
public class ClientService {
|
public class ClientService {
|
||||||
public static Instrumentation instrumentation;
|
public static Instrumentation instrumentation;
|
||||||
public static ClassLoader classLoader;
|
public static ClassLoader classLoader;
|
||||||
|
public static String nativePath;
|
||||||
public static URL[] baseURLs;
|
public static URL[] baseURLs;
|
||||||
}
|
}
|
||||||
|
|
|
@ -504,6 +504,7 @@ public static void main(String... args) throws Throwable {
|
||||||
AuthService.username = params.pp.username;
|
AuthService.username = params.pp.username;
|
||||||
AuthService.uuid = params.pp.uuid;
|
AuthService.uuid = params.pp.uuid;
|
||||||
ClientService.classLoader = classLoader;
|
ClientService.classLoader = classLoader;
|
||||||
|
ClientService.nativePath = classLoader.nativePath;
|
||||||
classLoader.addURL(IOHelper.getCodeSource(ClientLauncher.class).toUri().toURL());
|
classLoader.addURL(IOHelper.getCodeSource(ClientLauncher.class).toUri().toURL());
|
||||||
//classForName(classLoader, "com.google.common.collect.ForwardingMultimap");
|
//classForName(classLoader, "com.google.common.collect.ForwardingMultimap");
|
||||||
ClientService.baseURLs = classLoader.getURLs();
|
ClientService.baseURLs = classLoader.getURLs();
|
||||||
|
|
Loading…
Reference in a new issue