Closed liplum closed 1 year ago
Before mgpp v1.1.13 release, as a workaround, you can add these lines into build.gradle.kts
import org.apache.tools.ant.taskdefs.condition.Os
// ... other codes
afterEvaluate {
tasks.named<JavaExec>("runClient") {
if (Os.isFamily(Os.FAMILY_MAC)) {
jvmArgs = (jvmArgs ?: mutableListOf()) + "-XstartOnFirstThread"
}
}
}
Gradle Log
Since Mindustry is a libGDX project, the
-XstartOnFirstThread
is needed on macOS.