parent
85761d77a2
commit
429e5a964d
|
@ -150,8 +150,9 @@ public class DefaultLauncher extends Launcher {
|
|||
res.addDefault("-Duser.home=", options.getGameDir().getAbsolutePath());
|
||||
res.addDefault("-Duser.language=", System.getProperty("user.language"));
|
||||
res.addDefault("-Duser.timezone=", TimeZone.getDefault().getID());
|
||||
res.addDefault("-Djna.boot.library.path=", context.getApplicationInfo().nativeLibraryDir);
|
||||
res.addDefault("-Dorg.lwjgl.vulkan.libname=", "libvulkan.so");
|
||||
File libJna = new File(FCLPath.RUNTIME_DIR, "jna");
|
||||
res.addDefault("-Djna.boot.library.path=", libJna.exists() ? libJna.getAbsolutePath() : context.getApplicationInfo().nativeLibraryDir);
|
||||
|
||||
if (getInjectorArg() != null && options.isBeGesture()) {
|
||||
res.addDefault("-Dfcl.injector=", getInjectorArg());
|
||||
|
|
|
@ -13,6 +13,7 @@ import com.oracle.dalvik.VMLauncher;
|
|||
import com.tungsten.fclauncher.bridge.FCLBridge;
|
||||
import com.tungsten.fclauncher.plugins.FFmpegPlugin;
|
||||
import com.tungsten.fclauncher.utils.Architecture;
|
||||
import com.tungsten.fclauncher.utils.FCLPath;
|
||||
|
||||
import java.io.BufferedReader;
|
||||
import java.io.File;
|
||||
|
@ -114,6 +115,9 @@ public class FCLauncher {
|
|||
"/hw" +
|
||||
split +
|
||||
|
||||
FCLPath.RUNTIME_DIR + "/jna" +
|
||||
split +
|
||||
|
||||
nativeDir;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue