Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/vchelaru/Gum
Browse files Browse the repository at this point in the history
  • Loading branch information
vchelaru committed Dec 22, 2024
2 parents c5d76ca + e5f6bba commit 1680b7a
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -264,6 +264,11 @@ void HandleDeleteFolder(object sender, EventArgs e)
{
try
{
// Set the folder to NORMAL so it doesn't retain READONLY or ARCHIVE attributes
// This happens because of OneDrive
DirectoryInfo dir = new DirectoryInfo(fullFile);
dir.Attributes = FileAttributes.Normal;

Directory.Delete(fullFile);
GumCommands.Self.GuiCommands.RefreshElementTreeView();
}
Expand Down

0 comments on commit 1680b7a

Please sign in to comment.