Skip to content

Commit

Permalink
Fix: drop preceding / when loading from classloader
Browse files Browse the repository at this point in the history
  • Loading branch information
Gegy committed Jun 6, 2024
1 parent c1dfd4a commit 077058a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public static Platform tryDetect() {
}

public String getLibraryPath(final String name) {
return "/" + os.libraryPrefix + name + "-" + classifier + os.libraryExtension;
return os.libraryPrefix + name + "-" + classifier + os.libraryExtension;
}

public enum Os {
Expand Down

0 comments on commit 077058a

Please sign in to comment.