From 998021eb4cd13045ac15dcadf6184c7577e95954 Mon Sep 17 00:00:00 2001 From: syeyoung Date: Tue, 27 Dec 2022 20:04:12 +0900 Subject: - Fix being unable to launch in aarch64 jvm Signed-off-by: syeyoung --- gradle.properties | 3 ++- loader/build.gradle | 2 ++ mod/build.gradle | 2 ++ 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gradle.properties b/gradle.properties index ab7e8705..ad947b8b 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,3 +1,4 @@ org.gradle.jvmargs=-Xmx2G org.gradle.caching=true -loom.platform=forge \ No newline at end of file +loom.platform=forge +fabric.loom.natives.dir=/Users/syeyoung/.mcnatives \ No newline at end of file diff --git a/loader/build.gradle b/loader/build.gradle index 6619879c..f12701ce 100644 --- a/loader/build.gradle +++ b/loader/build.gradle @@ -29,6 +29,7 @@ loom { runConfigs { named("client") { ideConfigGenerated(true) + vmArgs.remove("-XstartOnFirstThread") } } runs { @@ -37,6 +38,7 @@ loom { runDir = 'runtime' property('devauth.enabled','true') client() + vmArgs.remove("-XstartOnFirstThread") } } forge { diff --git a/mod/build.gradle b/mod/build.gradle index 466c88b7..ee33fedd 100644 --- a/mod/build.gradle +++ b/mod/build.gradle @@ -28,6 +28,7 @@ loom { runConfigs { named("client") { ideConfigGenerated(true) + vmArgs.remove("-XstartOnFirstThread") } } runs { @@ -36,6 +37,7 @@ loom { property('devauth.enabled','true') property('dg.loader', 'devenv') client() + vmArgs.remove("-XstartOnFirstThread") } } forge { -- cgit