controller: clear file attributes before recurively removing tmp folder
This commit is contained in:
parent
10ac5cbe5c
commit
be888c09ab
|
@ -93,6 +93,7 @@ namespace SparkleShare {
|
||||||
SparklePath = SparklePaths.SparklePath;
|
SparklePath = SparklePaths.SparklePath;
|
||||||
|
|
||||||
// Remove temporary file
|
// Remove temporary file
|
||||||
|
SparkleHelpers.ClearAttributes (SparklePaths.SparkleTmpPath);
|
||||||
if (Directory.Exists (SparklePaths.SparkleTmpPath))
|
if (Directory.Exists (SparklePaths.SparkleTmpPath))
|
||||||
Directory.Delete (SparklePaths.SparkleTmpPath, true);
|
Directory.Delete (SparklePaths.SparkleTmpPath, true);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue