mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-03-07 12:21:52 +09:00
Windows on Arm will be filtered out specifically
This commit is contained in:
@@ -79,6 +79,12 @@ public class Principii {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (OS.contains("WIN")) {
|
if (OS.contains("WIN")) {
|
||||||
|
if (runtimeArch.equals("arm")) {
|
||||||
|
System.err.println("Windows on Arm is not supported");
|
||||||
|
System.exit(1);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
runtimeRoot = "runtime-windows-" + runtimeArch;
|
runtimeRoot = "runtime-windows-" + runtimeArch;
|
||||||
}
|
}
|
||||||
else if (OS.contains("OS X") || OS.contains("MACOS")) { // OpenJDK for mac will still report "Mac OS X" with version number "10.16", "11.x", "12.x", "13.x", ...
|
else if (OS.contains("OS X") || OS.contains("MACOS")) { // OpenJDK for mac will still report "Mac OS X" with version number "10.16", "11.x", "12.x", "13.x", ...
|
||||||
|
|||||||
Reference in New Issue
Block a user