windows: fix setting of custom folder icon

This commit is contained in:
Hylke Bons 2012-12-03 15:54:06 +00:00
parent 01994132a7
commit e0fd85b5dd

View file

@ -140,10 +140,11 @@ namespace SparkleShare {
if (!File.Exists (icon_file_path)) {
string ini_file_path = Path.Combine (FoldersPath, "desktop.ini");
string ini_file = "[.ShellClassInfo]" +
"IconFile=" + icon_file_path +
"IconIndex=0" +
string n = Environment.NewLine;
string ini_file = "[.ShellClassInfo]" + n +
"IconFile=" + icon_file_path + n +
"IconIndex=0" + n +
"InfoTip=SparkleShare";
try {