public static @NotNull CpuArch fromString(@Nullable String arch) {
    if ("x86_64".equals(arch) || "amd64".equals(arch)) return X86_64;
    if ("i386".equals(arch) || "x86".equals(arch)) return X86;
    if ("aarch64".equals(arch) || "arm64".equals(arch)) return ARM64;
    return arch == null || arch.trim().isEmpty() ? UNKNOWN : OTHER;
  }
public static @NotNull CpuArch fromString(@Nullable String arch)