mirror of
https://github.com/ViaVersion/ViaVersion.git
synced 2024-11-21 17:45:36 +01:00
Add auto start option to runViaProxy task (#4225)
This commit is contained in:
parent
4054e83ffe
commit
8fdae33333
@ -32,6 +32,10 @@ tasks.register<JavaExec>("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()
|
||||
|
Loading…
Reference in New Issue
Block a user