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()
]
args += "--vmargs"
if(platform == "MacOS"){
args += ["--vmargs", "XstartOnFirstThread"] as String[]
}else{
//TODO unneeded for windows?
args += ["--vmargs", "Dhttps.protocols=TLSv1.2,TLSv1.1,TLSv1"]
args += "XstartOnFirstThread"
}
args += "Dhttps.protocols=TLSv1.2,TLSv1.1,TLSv1"
exec{
commandLine args.toList()
standardOutput = System.out