protected override void PageToSettings() { AppSettings.Plink = PlinkPath.Text; AppSettings.Puttygen = PuttygenPath.Text; AppSettings.Pageant = PageantPath.Text; AppSettings.AutoStartPageant = AutostartPageant.Checked; string path; if (OpenSSH.Checked) { path = ""; } else if (Putty.Checked) { path = PlinkPath.Text; } else { // Other.Checked path = OtherSsh.Text; } // Set persistent settings as well as the env var used by Git GitSshHelpers.SetSsh(path); AppSettings.SshPath = path; }
protected override void PageToSettings() { AppSettings.Plink = PlinkPath.Text; AppSettings.Puttygen = PuttygenPath.Text; AppSettings.Pageant = PageantPath.Text; AppSettings.AutoStartPageant = AutostartPageant.Checked; if (OpenSSH.Checked) { GitSshHelpers.SetSsh(""); } if (Putty.Checked) { GitSshHelpers.SetSsh(PlinkPath.Text); } if (Other.Checked) { GitSshHelpers.SetSsh(OtherSsh.Text); } }