aboutsummaryrefslogtreecommitdiff
path: root/versions/build.gradle.kts
diff options
context:
space:
mode:
authorEthan <git@ethanlibs.co>2022-07-11 08:16:27 -0400
committerGitHub <noreply@github.com>2022-07-11 21:16:27 +0900
commitafc7e5877903ce925a873c5c9079a69180ce510e (patch)
treec11d45d43eee3c571ccca264a5818fbb14b63bc3 /versions/build.gradle.kts
parent65ebd73378cc556bc2be841b4abb50d9e1c7fad9 (diff)
downloadOneConfig-afc7e5877903ce925a873c5c9079a69180ce510e.tar.gz
OneConfig-afc7e5877903ce925a873c5c9079a69180ce510e.tar.bz2
OneConfig-afc7e5877903ce925a873c5c9079a69180ce510e.zip
epic fix for macos development because archloom bug yes yes (#50)
Diffstat (limited to 'versions/build.gradle.kts')
-rw-r--r--versions/build.gradle.kts5
1 files changed, 5 insertions, 0 deletions
diff --git a/versions/build.gradle.kts b/versions/build.gradle.kts
index 069c8ef..9c41c62 100644
--- a/versions/build.gradle.kts
+++ b/versions/build.gradle.kts
@@ -48,6 +48,11 @@ base {
}
loom {
noServerRunConfigs()
+ runConfigs.named("client") {
+ if (project.platform.isLegacyForge) {
+ vmArgs.remove("-XstartOnFirstThread")
+ }
+ }
launchConfigs.named("client") {
if (project.platform.isLegacyForge) {
arg("--tweakClass", "cc.polyfrost.oneconfig.internal.plugin.asm.OneConfigTweaker")