diff options
author | CalMWolfs <94038482+CalMWolfs@users.noreply.github.com> | 2023-12-29 18:53:29 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-29 08:53:29 +0100 |
commit | eec5758c9888902920d58627ad55c894ab503226 (patch) | |
tree | 8939a68bef5dfe14c00e03c2acce60276b99c96f | |
parent | 25d79074bec71799d126406373e09901a3a72538 (diff) | |
download | skyhanni-eec5758c9888902920d58627ad55c894ab503226.tar.gz skyhanni-eec5758c9888902920d58627ad55c894ab503226.tar.bz2 skyhanni-eec5758c9888902920d58627ad55c894ab503226.zip |
fix mac crash (#853)
Fixing a mac crash in dev environment automatically. #853
-rw-r--r-- | build.gradle.kts | 6 |
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 } |