aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--build.gradle.kts6
1 files changed, 6 insertions, 0 deletions
diff --git a/build.gradle.kts b/build.gradle.kts
index 4b2d7eb1e..d0a6b7777 100644
--- a/build.gradle.kts
+++ b/build.gradle.kts
@@ -1,3 +1,4 @@
+import org.apache.commons.lang3.SystemUtils
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
import java.io.ByteArrayOutputStream
@@ -153,6 +154,11 @@ loom {
defaultRefmapName.set("mixins.skyhanni.refmap.json")
}
runConfigs {
+ "client" {
+ if (SystemUtils.IS_OS_MAC_OSX) {
+ vmArgs.remove("-XstartOnFirstThread")
+ }
+ }
"server" {
isIdeConfigGenerated = false
}