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:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user