Mirror von
https://github.com/ViaVersion/ViaVersion.git
synchronisiert 2024-12-26 16:12:42 +01:00
Add auto start option to runViaProxy task (#4225)
Dieser Commit ist enthalten in:
Ursprung
4054e83ffe
Commit
8fdae33333
@ -32,6 +32,10 @@ tasks.register<JavaExec>("runViaProxy") {
|
|||||||
workingDir = file("run")
|
workingDir = file("run")
|
||||||
jvmArgs = listOf("-DskipUpdateCheck")
|
jvmArgs = listOf("-DskipUpdateCheck")
|
||||||
|
|
||||||
|
if (System.getProperty("viaproxy.gui.autoStart") != null) {
|
||||||
|
jvmArgs("-Dviaproxy.gui.autoStart")
|
||||||
|
}
|
||||||
|
|
||||||
doFirst {
|
doFirst {
|
||||||
val jarsDir = file("$workingDir/jars")
|
val jarsDir = file("$workingDir/jars")
|
||||||
jarsDir.mkdirs()
|
jarsDir.mkdirs()
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren