mirror of
https://github.com/mRemoteNG/mRemoteNG.git
synced 2026-02-17 22:11:48 +08:00
Replaced putty.exe with PuTTYNG.exe. Changed code to look for PuTTYNG.exe instead of putty.exe.
This commit is contained in:
BIN
Installer/Dependencies/PuTTYNG.exe
Normal file
BIN
Installer/Dependencies/PuTTYNG.exe
Normal file
Binary file not shown.
Binary file not shown.
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user