mirror of
https://github.com/GravitLauncher/Launcher
synced 2024-11-15 11:39:11 +03:00
[FIX] Исправлен баг с двойным resolve
This commit is contained in:
parent
c4c50344fb
commit
14a80ef67f
1 changed files with 2 additions and 2 deletions
|
@ -99,7 +99,7 @@ public Path tryFind(NewLauncherSettings.HashedStoreEntry en, HashedFile file) th
|
||||||
if(tfile.isSame(file))
|
if(tfile.isSame(file))
|
||||||
{
|
{
|
||||||
LogHelper.debug("[DIR:%s] Found file %s in %s", en.name, name, path);
|
LogHelper.debug("[DIR:%s] Found file %s in %s", en.name, name, path);
|
||||||
Path tdir = Paths.get(en.fullPath).resolve(path).resolve(name);
|
Path tdir = Paths.get(en.fullPath).resolve(path);
|
||||||
try {
|
try {
|
||||||
if(tfile.isSame(tdir, true))
|
if(tfile.isSame(tdir, true))
|
||||||
{
|
{
|
||||||
|
@ -109,7 +109,7 @@ public Path tryFind(NewLauncherSettings.HashedStoreEntry en, HashedFile file) th
|
||||||
}
|
}
|
||||||
} catch (IOException e)
|
} catch (IOException e)
|
||||||
{
|
{
|
||||||
LogHelper.error("Check file error %s", e.getMessage());
|
LogHelper.error("Check file error %s %s", e.getClass().getName(), e.getMessage());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return HashedDir.WalkAction.CONTINUE;
|
return HashedDir.WalkAction.CONTINUE;
|
||||||
|
|
Loading…
Reference in a new issue