Replaced putty.exe with PuTTYNG.exe. Changed code to look for PuTTYNG.exe instead of putty.exe.

This commit is contained in:
rmcardle
2012-02-27 20:50:28 -06:00
parent a1b4cadc1d
commit 01d62c410d
5 changed files with 4 additions and 4 deletions

Binary file not shown.

Binary file not shown.

View File

@@ -84,7 +84,7 @@ Namespace Config
If My.Settings.UseCustomPuttyPath Then
Connection.Protocol.PuttyBase.PuttyPath = My.Settings.CustomPuttyPath
Else
Connection.Protocol.PuttyBase.PuttyPath = My.Application.Info.DirectoryPath & "\Putty.exe"
Connection.Protocol.PuttyBase.PuttyPath = My.Application.Info.DirectoryPath & "\PuTTYNG.exe"
End If
If My.Settings.ShowSystemTrayIcon Then

View File

@@ -1606,7 +1606,7 @@ Public Class frmOptions
If My.Settings.UseCustomPuttyPath Then
mRemoteNG.Connection.Protocol.PuttyBase.PuttyPath = My.Settings.CustomPuttyPath
Else
mRemoteNG.Connection.Protocol.PuttyBase.PuttyPath = My.Application.Info.DirectoryPath & "\putty.exe"
mRemoteNG.Connection.Protocol.PuttyBase.PuttyPath = My.Application.Info.DirectoryPath & "\PuTTYNG.exe"
End If
My.Settings.MaxPuttyWaitTime = Me.numPuttyWaitTime.Value
@@ -1827,7 +1827,7 @@ Public Class frmOptions
Private Sub btnBrowseCustomPuttyPath_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnBrowseCustomPuttyPath.Click
Dim oDlg As New OpenFileDialog()
oDlg.Filter = My.Language.strFilterApplication & "|*.exe|" & My.Language.strFilterAll & "|*.*"
oDlg.FileName = "putty.exe"
oDlg.FileName = "PuTTYNG.exe"
oDlg.CheckFileExists = True
oDlg.Multiselect = False

View File

@@ -547,7 +547,7 @@ Namespace UI
Dim pPath As String = ""
If My.Settings.UseCustomPuttyPath = False Then
pPath = My.Application.Info.DirectoryPath & "\putty.exe"
pPath = My.Application.Info.DirectoryPath & "\PuTTYNG.exe"
Else
pPath = My.Settings.CustomPuttyPath
End If