From a10d73a535f4ae5d5300ccbaef7ce8f182cffd95 Mon Sep 17 00:00:00 2001 From: Andrea Cavalli Date: Sat, 23 Oct 2021 01:58:08 +0200 Subject: [PATCH] Fix version misprint --- src/main/java/it/tdlight/common/utils/LoadLibrary.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/it/tdlight/common/utils/LoadLibrary.java b/src/main/java/it/tdlight/common/utils/LoadLibrary.java index 24a08f8..a46fa0c 100644 --- a/src/main/java/it/tdlight/common/utils/LoadLibrary.java +++ b/src/main/java/it/tdlight/common/utils/LoadLibrary.java @@ -237,7 +237,8 @@ public final class LoadLibrary { } private static String getRequiredVersionName(Os os, Arch arch) { - return LibraryVersion.IMPLEMENTATION_NAME + " " + os + " " + arch + " 4.0." + LibraryVersion.NATIVES_VERSION; + return LibraryVersion.IMPLEMENTATION_NAME + " " + os.toString().toLowerCase() + " " + arch.toString().toLowerCase() + + " " + LibraryVersion.NATIVES_VERSION; } private static String removeFromVersion(String libraryVersionClass) {