windows: always overwrite %HOME%. See #697
This commit is contained in:
parent
58faf2bf6e
commit
dcfd29b3a3
|
@ -65,12 +65,7 @@ namespace SparkleShare {
|
|||
|
||||
Environment.SetEnvironmentVariable ("PATH", new_PATH);
|
||||
Environment.SetEnvironmentVariable ("PLINK_PROTOCOL", "ssh");
|
||||
|
||||
if (string.IsNullOrEmpty (Environment.GetEnvironmentVariable ("HOME"))) {
|
||||
Environment.SetEnvironmentVariable (
|
||||
"HOME", Environment.GetFolderPath (Environment.SpecialFolder.UserProfile)
|
||||
);
|
||||
}
|
||||
Environment.SetEnvironmentVariable ("HOME", Environment.GetFolderPath (Environment.SpecialFolder.UserProfile));
|
||||
|
||||
StartSSH ();
|
||||
base.Initialize ();
|
||||
|
|
Loading…
Reference in a new issue