controller: clear file attributes before recurively removing tmp folder

This commit is contained in:
Hylke Bons 2011-05-27 00:25:40 +01:00
parent 10ac5cbe5c
commit be888c09ab

View file

@ -93,6 +93,7 @@ namespace SparkleShare {
SparklePath = SparklePaths.SparklePath;
// Remove temporary file
SparkleHelpers.ClearAttributes (SparklePaths.SparkleTmpPath);
if (Directory.Exists (SparklePaths.SparkleTmpPath))
Directory.Delete (SparklePaths.SparkleTmpPath, true);