mirror of
https://github.com/GravitLauncher/Launcher
synced 2024-12-23 00:51:01 +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 static Instrumentation instrumentation;
|
||||
public static ClassLoader classLoader;
|
||||
public static String nativePath;
|
||||
public static URL[] baseURLs;
|
||||
}
|
||||
|
|
|
@ -504,6 +504,7 @@ public static void main(String... args) throws Throwable {
|
|||
AuthService.username = params.pp.username;
|
||||
AuthService.uuid = params.pp.uuid;
|
||||
ClientService.classLoader = classLoader;
|
||||
ClientService.nativePath = classLoader.nativePath;
|
||||
classLoader.addURL(IOHelper.getCodeSource(ClientLauncher.class).toUri().toURL());
|
||||
//classForName(classLoader, "com.google.common.collect.ForwardingMultimap");
|
||||
ClientService.baseURLs = classLoader.getURLs();
|
||||
|
|
Loading…
Reference in a new issue