lin controller: wait for the folder icon commands to exit
This commit is contained in:
parent
9a38781691
commit
35f96879a4
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue