Update SparkleConfig.cs
This commit is contained in:
parent
189adad24d
commit
ee292da545
|
@ -115,7 +115,7 @@ namespace SparkleLib {
|
|||
|
||||
user_name = Environment.UserName;
|
||||
if (string.IsNullOrEmpty (user_name))
|
||||
user_name = "";
|
||||
user_name = "Unknown";
|
||||
else
|
||||
user_name = user_name.TrimEnd (",".ToCharArray ());
|
||||
|
||||
|
@ -123,8 +123,6 @@ namespace SparkleLib {
|
|||
user_name = Environment.UserName;
|
||||
}
|
||||
|
||||
if (string.IsNullOrEmpty (user_name))
|
||||
user_name = "Unknown";
|
||||
|
||||
string n = Environment.NewLine;
|
||||
File.WriteAllText (FullPath,
|
||||
|
|
Loading…
Reference in a new issue