diff --git a/common/build.gradle.kts b/common/build.gradle.kts index b58e48f36..980799ddf 100644 --- a/common/build.gradle.kts +++ b/common/build.gradle.kts @@ -32,6 +32,10 @@ tasks.register("runViaProxy") { workingDir = file("run") jvmArgs = listOf("-DskipUpdateCheck") + if (System.getProperty("viaproxy.gui.autoStart") != null) { + jvmArgs("-Dviaproxy.gui.autoStart") + } + doFirst { val jarsDir = file("$workingDir/jars") jarsDir.mkdirs()