diff --git a/src/main/java/io/github/benjaminamos/tracy/Tracy.java b/src/main/java/io/github/benjaminamos/tracy/Tracy.java index 32ba9e7..20955c8 100644 --- a/src/main/java/io/github/benjaminamos/tracy/Tracy.java +++ b/src/main/java/io/github/benjaminamos/tracy/Tracy.java @@ -18,7 +18,7 @@ private Tracy() { if (libraryDirectory.exists() && libraryDirectory.isDirectory()) { String architecture = System.getProperty("os.arch"); for (File file : libraryDirectory.listFiles()) { - if (file.getName().startsWith("tracy-jni-" + architecture) || file.getName().startsWith("libtracy-jni" + architecture)) { + if (file.getName().startsWith("tracy-jni-" + architecture) || file.getName().startsWith("libtracy-jni-" + architecture)) { System.load(file.getPath()); } }