mirror of
https://github.com/Anuken/Mindustry.git
synced 2026-01-24 21:41:25 -08:00
Fixed #5561
This commit is contained in:
parent
63a1f4e2de
commit
beec1eeaba
1 changed files with 5 additions and 4 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue