diff --git a/Launcher/src/main/java/ru/gravit/launcher/client/LauncherUpdateController.java b/Launcher/src/main/java/ru/gravit/launcher/client/LauncherUpdateController.java index 9e7ead0e..aaae375f 100644 --- a/Launcher/src/main/java/ru/gravit/launcher/client/LauncherUpdateController.java +++ b/Launcher/src/main/java/ru/gravit/launcher/client/LauncherUpdateController.java @@ -76,9 +76,9 @@ public void postDiff(UpdateRequest request, UpdateRequestEvent e, HashedDir.Diff if(file.isSame(ret, true)) { 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! - Files.copy(ret, source); + Files.copy(source, ret); removed.add(path.concat(File.separator).concat(name)); } }