mirror of
https://github.com/GravitLauncher/Launcher
synced 2024-12-23 09:01:08 +03:00
[FIX][EXPERIMENTAL] Игнорирование исключний загрузки HashedStoreEntry
This commit is contained in:
parent
69aef41e5d
commit
00b6e4400c
3 changed files with 6 additions and 2 deletions
|
@ -8,6 +8,7 @@
|
|||
import ru.gravit.launcher.serialize.HInput;
|
||||
import ru.gravit.launcher.serialize.HOutput;
|
||||
import ru.gravit.utils.helper.IOHelper;
|
||||
import ru.gravit.utils.helper.LogHelper;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.lang.reflect.Type;
|
||||
|
@ -24,6 +25,9 @@ public FileVisitResult visitFile(Path file, BasicFileAttributes attrs)
|
|||
String fullPath = input.readString(1024);
|
||||
HashedDir dir = new HashedDir(input);
|
||||
settings.lastHDirs.add(new NewLauncherSettings.HashedStoreEntry(dir, dirName, fullPath));
|
||||
} catch (IOException e)
|
||||
{
|
||||
LogHelper.error("Skip file %s exception: %s", file.toAbsolutePath().toString(), e.getMessage());
|
||||
}
|
||||
return super.visitFile(file, attrs);
|
||||
}
|
||||
|
|
2
Radon
2
Radon
|
@ -1 +1 @@
|
|||
Subproject commit 60fa1c6694b570dda50056b1e2fe18fcdb0f8be0
|
||||
Subproject commit 6410af8044e7346e06f546dc04636b631fa7584c
|
2
modules
2
modules
|
@ -1 +1 @@
|
|||
Subproject commit b599517693c9d1c9a9045982ffa8068e1ed620c4
|
||||
Subproject commit 3f7cf22f4270dcdf6baa5c74dd00673b2b4ffc9e
|
Loading…
Reference in a new issue