diff --git a/desktop/build.gradle b/desktop/build.gradle index 347ffeee07..dfcc365f79 100644 --- a/desktop/build.gradle +++ b/desktop/build.gradle @@ -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