diff --git a/SparkleShare/SparkleLinController.cs b/SparkleShare/SparkleLinController.cs index 0d35f8b2..8186311a 100644 --- a/SparkleShare/SparkleLinController.cs +++ b/SparkleShare/SparkleLinController.cs @@ -148,10 +148,12 @@ namespace SparkleShare { // Clear the custom (legacy) icon path process.StartInfo.Arguments = "-t unset " + SparklePaths.SparklePath + " metadata::custom-icon"; ""; process.Start (); + process.WaitForExit (); // Give the SparkleShare folder an icon name, so that it scales process.StartInfo.Arguments = SparklePaths.SparklePath + " metadata::custom-icon-name 'folder-sparkleshare'"; ""; process.Start (); + process.WaitForExit (); } return true;