mirror of
https://github.com/bloxstraplabs/bloxstrap.git
synced 2025-04-21 10:01:27 -07:00
Fix bug with rbxfpsunlocker cleanup
This commit is contained in:
parent
525ca1d88b
commit
475a9ef3bf
@ -68,7 +68,10 @@ namespace Bloxstrap.Helpers.Integrations
|
|||||||
if (Directory.Exists(folderLocation))
|
if (Directory.Exists(folderLocation))
|
||||||
{
|
{
|
||||||
CheckIfRunning();
|
CheckIfRunning();
|
||||||
Directory.Delete(folderLocation, true);
|
|
||||||
|
DirectoryInfo directory = new(folderLocation);
|
||||||
|
directory.Attributes &= ~FileAttributes.ReadOnly;
|
||||||
|
directory.Delete(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
return;
|
return;
|
||||||
|
Loading…
Reference in New Issue
Block a user