From 7ae788c24ced2028d5de19f7a63d1be52c2c7801 Mon Sep 17 00:00:00 2001 From: Miepee <38186597+Miepee@users.noreply.github.com> Date: Sun, 14 Nov 2021 11:06:56 +0100 Subject: [PATCH] Forgot to push small log --- AM2RLauncher/AM2RLauncher/MainForm/MainForm.Events.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/AM2RLauncher/AM2RLauncher/MainForm/MainForm.Events.cs b/AM2RLauncher/AM2RLauncher/MainForm/MainForm.Events.cs index f6d5002..bd5de57 100644 --- a/AM2RLauncher/AM2RLauncher/MainForm/MainForm.Events.cs +++ b/AM2RLauncher/AM2RLauncher/MainForm/MainForm.Events.cs @@ -195,7 +195,10 @@ namespace AM2RLauncher try { if (Directory.Exists(CrossPlatformOperations.CURRENTPATH + "/PatchData")) + { + log.Info("PatchData directory already exists, cleaning up..."); HelperMethods.DeleteDirectory(CrossPlatformOperations.CURRENTPATH + "/PatchData"); + } await Task.Run(() => Repository.Clone(currentMirror, CrossPlatformOperations.CURRENTPATH + "/PatchData", c)); }