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);