Remove debug code exclusions

This commit is contained in:
pizzaboxer 2023-01-08 15:28:26 +00:00
parent ff9b6a0016
commit 3b7bf97682

View File

@ -602,14 +602,11 @@ namespace Bloxstrap
{ {
FileInfo file = new(packageLocation); FileInfo file = new(packageLocation);
#if !DEBUG
string calculatedMD5 = Utilities.MD5File(packageLocation); string calculatedMD5 = Utilities.MD5File(packageLocation);
if (calculatedMD5 != package.Signature) if (calculatedMD5 != package.Signature)
{ {
Debug.WriteLine($"{package.Name} is corrupted ({calculatedMD5} != {package.Signature})! Deleting and re-downloading..."); Debug.WriteLine($"{package.Name} is corrupted ({calculatedMD5} != {package.Signature})! Deleting and re-downloading...");
#endif
file.Delete(); file.Delete();
#if !DEBUG
} }
else else
{ {
@ -618,7 +615,6 @@ namespace Bloxstrap
UpdateProgressbar(); UpdateProgressbar();
return; return;
} }
#endif
} }
else if (File.Exists(robloxPackageLocation)) else if (File.Exists(robloxPackageLocation))
{ {