Allow use cato on Windows on ARM
This commit is contained in:
@@ -228,7 +228,8 @@ public final class MultiplayerManager {
|
||||
public static String getCatoPath() {
|
||||
switch (OperatingSystem.CURRENT_OS) {
|
||||
case WINDOWS:
|
||||
if (Architecture.SYSTEM_ARCH == Architecture.X86_64) {
|
||||
if (Architecture.SYSTEM_ARCH == Architecture.X86_64
|
||||
|| (Architecture.SYSTEM_ARCH == Architecture.ARM64 && OperatingSystem.SYSTEM_BUILD_NUMBER >= 21277)) {
|
||||
return "cato/cato/" + MultiplayerManager.CATO_VERSION + "/cato-windows-amd64.exe";
|
||||
} else {
|
||||
return "";
|
||||
|
||||
Reference in New Issue
Block a user