Skip to content

Commit ee7ee99

Browse files
committed
Fixed not getting the connector hash in windows
1 parent bf97337 commit ee7ee99

File tree

1 file changed

+2
-1
lines changed
  • common/src/main/java/dev/felnull/imp/client/lava/hash

1 file changed

+2
-1
lines changed

common/src/main/java/dev/felnull/imp/client/lava/hash/IMPRHash.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,8 +162,9 @@ private boolean Windows(Type os, String arch) {
162162
String file_hash_lib = "";
163163
if (Files.exists(file_path_lib) && Files.exists(file_path_connector)) {
164164
file_hash_lib = calculateMD5Hash(file_path_lib);
165+
file_hash_connector = calculateMD5Hash(file_path_connector);
165166
LOGGER.info("File of hash lib is: " + file_hash_lib);
166-
LOGGER.info("File hash of connector is: " + file_hash_lib);
167+
LOGGER.info("File hash of connector is: " + file_hash_connector);
167168
} else {
168169
LOGGER.fatal("File dosen't exist");
169170
return false;

0 commit comments

Comments
 (0)