This commit is contained in:
Anuken
2021-07-10 12:32:29 -04:00
parent 63a1f4e2de
commit beec1eeaba

View File

@@ -119,13 +119,14 @@ platforms.each{ platform ->
"--removelibs", "$rootDir/desktop/build/packr/desktop.jar".toString() "--removelibs", "$rootDir/desktop/build/packr/desktop.jar".toString()
] ]
args += "--vmargs"
if(platform == "MacOS"){ if(platform == "MacOS"){
args += ["--vmargs", "XstartOnFirstThread"] as String[] args += "XstartOnFirstThread"
}else{
//TODO unneeded for windows?
args += ["--vmargs", "Dhttps.protocols=TLSv1.2,TLSv1.1,TLSv1"]
} }
args += "Dhttps.protocols=TLSv1.2,TLSv1.1,TLSv1"
exec{ exec{
commandLine args.toList() commandLine args.toList()
standardOutput = System.out standardOutput = System.out