Questionable customized Gradle build script with Windows
TheChocolateOre opened this issue · 0 comments
TheChocolateOre commented
In the customize page with Gradle mode and both Windows x64 and Windows arm64 natives selected, we get:
switch (OperatingSystem.current()) {
case OperatingSystem.WINDOWS:
def osArch = System.getProperty("os.arch")
project.ext.lwjglNatives = osArch.contains("64")
? "natives-windows${osArch.startsWith("aarch64") ? "-arm64" : ""}"
: "natives-windows-x86"
break
}
Why the last branch contains "natives-windows-x86"
? Shouldn't it be just "natives-windows"
?