From b7dfa457eddd9c1c78073682974e558c0fe7c6f1 Mon Sep 17 00:00:00 2001 From: Gravit Date: Tue, 21 May 2019 02:18:27 +0700 Subject: [PATCH] =?UTF-8?q?[FIX]=20=D0=9F=D0=BE=D0=BC=D0=B5=D0=BD=D1=8F?= =?UTF-8?q?=D0=BB=20=D0=BC=D0=B5=D1=81=D1=82=D0=B0=D0=BC=D0=B8=20=D0=B2?= =?UTF-8?q?=D1=85=D0=BE=D0=B4=20=D0=B8=20=D0=B2=D1=8B=D1=85=D0=BE=D0=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ru/gravit/launcher/client/LauncherUpdateController.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)); } }