From 009aa2e6ab7e98d329dbcbaa5d6f3735f49969d2 Mon Sep 17 00:00:00 2001 From: Gravit Date: Sun, 3 Mar 2019 19:38:36 +0700 Subject: [PATCH] [FIX] Windows must die version 2 --- .../src/main/java/ru/gravit/launcher/hasher/DirWatcher.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libLauncher/src/main/java/ru/gravit/launcher/hasher/DirWatcher.java b/libLauncher/src/main/java/ru/gravit/launcher/hasher/DirWatcher.java index 3330455e..70a2a3e9 100644 --- a/libLauncher/src/main/java/ru/gravit/launcher/hasher/DirWatcher.java +++ b/libLauncher/src/main/java/ru/gravit/launcher/hasher/DirWatcher.java @@ -40,9 +40,9 @@ public FileVisitResult preVisitDirectory(Path dir, BasicFileAttributes attrs) th // Maybe it's unnecessary to go deeper path.add(IOHelper.getFileName(dir)); - if (matcher != null && !matcher.shouldVerify(path)) { - return FileVisitResult.SKIP_SUBTREE; - } + //if (matcher != null && !matcher.shouldVerify(path)) { + // return FileVisitResult.SKIP_SUBTREE; + //} // Register dir.register(service, KINDS);