mirror of
https://github.com/GravitLauncher/Launcher
synced 2025-03-28 12:08:19 +03:00
Fix module natives
This commit is contained in:
parent
d26b179006
commit
606f119189
1 changed files with 4 additions and 1 deletions
|
@ -262,7 +262,10 @@ protected Class<?> findClass(String moduleName, String name) {
|
|||
|
||||
@Override
|
||||
public String findLibrary(String name) {
|
||||
return nativePath.concat(IOHelper.PLATFORM_SEPARATOR).concat(JVMHelper.NATIVE_PREFIX).concat(name).concat(JVMHelper.NATIVE_EXTENSION);
|
||||
if(nativePath != null) {
|
||||
return nativePath.concat(IOHelper.PLATFORM_SEPARATOR).concat(JVMHelper.NATIVE_PREFIX).concat(name).concat(JVMHelper.NATIVE_EXTENSION);
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
public void addAllowedPackage(String pkg) {
|
||||
|
|
Loading…
Reference in a new issue