diff --git a/common/build.gradle.kts b/common/build.gradle.kts index d326ad8f..87c49fa6 100644 --- a/common/build.gradle.kts +++ b/common/build.gradle.kts @@ -36,6 +36,11 @@ tasks.register("runViaProxy") { mainClass.set("net.raphimc.viaproxy.ViaProxy") classpath = viaProxyConfiguration workingDir = file("run") + jvmArgs = listOf("-DskipUpdateCheck") + + if (System.getProperty("viaproxy.gui.autoStart") != null) { + jvmArgs("-Dviaproxy.gui.autoStart") + } doFirst { val jarsDir = file("$workingDir/jars")