mirror of
https://github.com/bloxstraplabs/bloxstrap.git
synced 2025-04-21 10:01:27 -07:00
Remove debug code exclusions
This commit is contained in:
parent
ff9b6a0016
commit
3b7bf97682
@ -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))
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user