diff --git a/SuperGrate/Classes/USMT.cs b/SuperGrate/Classes/USMT.cs index 45d254b..6cae728 100644 --- a/SuperGrate/Classes/USMT.cs +++ b/SuperGrate/Classes/USMT.cs @@ -154,6 +154,11 @@ public static Task CopyUSMT() return false; } } + if (Directory.Exists(PayloadPathTarget)) + { + Logger.Error(Language.Get("Class/USMT/Log/Failed/PayloadPathAlreadyExists")); + return false; + } if (FileOperations.CopyFolder( USMTPath, PayloadPathTarget @@ -504,4 +509,4 @@ public enum USMTMode ScanState = 1, LoadState = 2 } -} \ No newline at end of file +}