Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Questionable customized Gradle build script with Windows #127

Open
TheChocolateOre opened this issue Sep 29, 2022 · 0 comments
Open

Questionable customized Gradle build script with Windows #127

TheChocolateOre opened this issue Sep 29, 2022 · 0 comments

Comments

@TheChocolateOre
Copy link

TheChocolateOre commented Sep 29, 2022

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

@TheChocolateOre TheChocolateOre changed the title Wrong customized Gradle build script with Windows Questionable customized Gradle build script with Windows Sep 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant