mirror of
https://github.com/bloxstraplabs/bloxstrap.git
synced 2025-04-21 10:01:27 -07:00
update 2.8.2 upgrade code
This commit is contained in:
parent
6af8c2a450
commit
f0965844ec
@ -564,16 +564,22 @@ namespace Bloxstrap
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (Utilities.CompareVersions(existingVer, "2.8.2") == VersionComparison.LessThan)
|
if (Utilities.CompareVersions(existingVer, "2.8.2") == VersionComparison.LessThan)
|
||||||
|
{
|
||||||
|
string robloxDirectory = Path.Combine(Paths.Base, "Roblox");
|
||||||
|
|
||||||
|
if (Directory.Exists(robloxDirectory))
|
||||||
{
|
{
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
Directory.Delete(Path.Combine(Paths.Base, "Roblox"), true);
|
Directory.Delete(robloxDirectory, true);
|
||||||
}
|
}
|
||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
{
|
{
|
||||||
|
App.Logger.WriteLine(LOG_IDENT, "Failed to delete the Roblox directory");
|
||||||
App.Logger.WriteException(LOG_IDENT, ex);
|
App.Logger.WriteException(LOG_IDENT, ex);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if (Utilities.CompareVersions(existingVer, "2.8.3") == VersionComparison.LessThan)
|
if (Utilities.CompareVersions(existingVer, "2.8.3") == VersionComparison.LessThan)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user