Skip to content

Questionable customized Gradle build script with Windows #127

@TheChocolateOre

Description

@TheChocolateOre

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"?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions