From c17e59c4d1c2ef5b2bdaeb98ccaac1d8f6eada37 Mon Sep 17 00:00:00 2001 From: Zaxar163 Date: Sun, 15 Sep 2019 19:41:24 +0200 Subject: [PATCH] =?UTF-8?q?[FIX]=20=D0=A3=D0=B4=D0=B0=D0=BB=D0=B5=D0=BD?= =?UTF-8?q?=D0=B8=D0=B5=20=D0=B5=D1=81=D0=BB=D0=B8=20=D0=BF=D1=80=D0=BE?= =?UTF-8?q?=D1=88=D0=BB=D0=B0=D1=8F=20=D0=B7=D0=B0=D0=B3=D1=80=D1=83=D0=B7?= =?UTF-8?q?=D0=BA=D0=B0=20=D1=81=D0=BE=D1=80=D0=B2=D0=B0=D0=BB=D0=B0=D1=81?= =?UTF-8?q?=D1=8C.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/pro/gravit/launcher/request/update/LauncherRequest.java | 1 + 1 file changed, 1 insertion(+) diff --git a/LauncherAPI/src/main/java/pro/gravit/launcher/request/update/LauncherRequest.java b/LauncherAPI/src/main/java/pro/gravit/launcher/request/update/LauncherRequest.java index e451547b..92d03509 100644 --- a/LauncherAPI/src/main/java/pro/gravit/launcher/request/update/LauncherRequest.java +++ b/LauncherAPI/src/main/java/pro/gravit/launcher/request/update/LauncherRequest.java @@ -57,6 +57,7 @@ public static void update(LauncherRequestEvent result) throws IOException { }*/ try { ListDownloader downloader = new ListDownloader(); + Files.deleteIfExists(C_BINARY_PATH); downloader.downloadOne(result.url, C_BINARY_PATH); try (InputStream in = IOHelper.newInput(C_BINARY_PATH)) { IOHelper.transfer(in, BINARY_PATH);