mirror of
https://github.com/GravitLauncher/Launcher
synced 2024-11-15 11:39:11 +03:00
[FIX] Ошибка на MAC
This commit is contained in:
parent
89c412cda1
commit
600c65d2f2
2 changed files with 2 additions and 2 deletions
|
@ -537,7 +537,7 @@ private static LinkedList<Path> resolveClassPathList(Path clientDir, String... c
|
||||||
private static Stream<Path> resolveClassPathStream(Path clientDir, String... classPath) throws IOException {
|
private static Stream<Path> resolveClassPathStream(Path clientDir, String... classPath) throws IOException {
|
||||||
Stream.Builder<Path> builder = Stream.builder();
|
Stream.Builder<Path> builder = Stream.builder();
|
||||||
for (String classPathEntry : classPath) {
|
for (String classPathEntry : classPath) {
|
||||||
Path path = clientDir.resolve(IOHelper.toPath(classPathEntry));
|
Path path = clientDir.resolve(IOHelper.toPath(classPathEntry.replace(IOHelper.CROSS_SEPARATOR, IOHelper.PLATFORM_SEPARATOR)));
|
||||||
if (IOHelper.isDir(path)) { // Recursive walking and adding
|
if (IOHelper.isDir(path)) { // Recursive walking and adding
|
||||||
IOHelper.walk(path, new ClassPathFileVisitor(builder), false);
|
IOHelper.walk(path, new ClassPathFileVisitor(builder), false);
|
||||||
continue;
|
continue;
|
||||||
|
|
2
modules
2
modules
|
@ -1 +1 @@
|
||||||
Subproject commit 6f008f595975887b6a1366cb444b82b339e3afad
|
Subproject commit 8bd7ee839ad17cc75ff26653189f6cb995260989
|
Loading…
Reference in a new issue