mirror of
https://github.com/GravitLauncher/Launcher
synced 2024-12-23 09:01:08 +03:00
[FIX] Поменял местами вход и выход
This commit is contained in:
parent
6e1126a541
commit
b7dfa457ed
1 changed files with 2 additions and 2 deletions
|
@ -76,9 +76,9 @@ public void postDiff(UpdateRequest request, UpdateRequestEvent e, HashedDir.Diff
|
||||||
if(file.isSame(ret, true))
|
if(file.isSame(ret, true))
|
||||||
{
|
{
|
||||||
Path source = request.getDir().resolve(path);
|
Path source = request.getDir().resolve(path);
|
||||||
LogHelper.debug("Copy file %s to %s", source.toAbsolutePath().toString(), ret.toAbsolutePath().toString());
|
LogHelper.debug("Copy file %s to %s", ret.toAbsolutePath().toString(), source.toAbsolutePath().toString());
|
||||||
//Let's go!
|
//Let's go!
|
||||||
Files.copy(ret, source);
|
Files.copy(source, ret);
|
||||||
removed.add(path.concat(File.separator).concat(name));
|
removed.add(path.concat(File.separator).concat(name));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue