Skip to content

Commit

Permalink
fix mac crash (#853)
Browse files Browse the repository at this point in the history
Fixing a mac crash in dev environment automatically. #853
  • Loading branch information
CalMWolfs authored Dec 29, 2023
1 parent 25d7907 commit eec5758
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import org.apache.commons.lang3.SystemUtils
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
import java.io.ByteArrayOutputStream

Expand Down Expand Up @@ -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
}
Expand Down

0 comments on commit eec5758

Please sign in to comment.