1
0
mirror of https://github.com/Ylianst/MeshCentralRouter synced 2025-12-06 00:13:33 +00:00

Added support for Windows built-in OpenSSL.

This commit is contained in:
Ylian Saint-Hilaire
2021-03-02 18:32:47 -08:00
parent 31a62a585f
commit bb6c85c5a7
23 changed files with 25922 additions and 17 deletions

View File

@@ -54,6 +54,7 @@ namespace MeshCentralRouter
public bool deviceListViewMode = true;
public Process autoExitProc = null;
public int deviceDoubleClickAction = 0;
public FileInfo nativeSshPath = null;
public bool isRouterHooked()
{
@@ -266,6 +267,10 @@ namespace MeshCentralRouter
if (lines[1] != "") { label1.Text = lines[1]; }
}
catch (Exception) { }
// Check if Windows SSH is present
FileInfo nativeSshPath = new FileInfo(Path.Combine(Environment.SystemDirectory, "OpenSSH\\ssh.exe"));
if (nativeSshPath.Exists) { this.nativeSshPath = nativeSshPath; }
}
private void setDoubleClickDeviceAction()