Compare commits

...
1 Commits
Author SHA1 Message Date
Kevin Darby 46b3ab5da8 logging for stunnel check 2020-02-25 16:23:16 -05:00
+3 -1
View File
@@ -116,6 +116,7 @@ namespace mbts.ui.shell
try
{
string path = Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData) + "\\BTS\\stunnel\\";
Log.Ui.info($"Looking for stunnel in {path}");
if (File.Exists(path + "config\\stunnel.conf"))
{
uint job_error = BTSUINativeMethods.setup_process_job_object();
@@ -124,7 +125,8 @@ namespace mbts.ui.shell
kill_stunnel();
start_stunnel(path, job_error);
}
path = AppDomain.CurrentDomain.BaseDirectory + "\\..\\stunnel\\";
path = new DirectoryInfo( AppDomain.CurrentDomain.BaseDirectory ).FullName + "\\stunnel\\";
Log.Ui.info($"Looking for stunnel in {path}");
if (File.Exists(path + "config\\stunnel.conf"))
{
uint job_error = BTSUINativeMethods.setup_process_job_object();