mirror of
https://github.com/Kopano-dev/kopano-ol-extension.git
synced 2023-10-10 13:37:40 +02:00
Fix for restarting if there's a space in the profile name
This commit is contained in:
parent
6afaa7aeba
commit
036257eeaa
@ -76,10 +76,14 @@ namespace OutlookRestarter
|
|||||||
string path = procArgs[i];
|
string path = procArgs[i];
|
||||||
HandleCleanKoe(path);
|
HandleCleanKoe(path);
|
||||||
}
|
}
|
||||||
else
|
else if (procArgs[i].StartsWith("/"))
|
||||||
{
|
{
|
||||||
useArgs.Add(procArgs[i]);
|
useArgs.Add(procArgs[i]);
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
useArgs.Add("\"" + procArgs[i] + "\"");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
string argsString = string.Join(" ", useArgs);
|
string argsString = string.Join(" ", useArgs);
|
||||||
Logger.Instance.Debug(typeof(OutlookRestarter), "Parsed arguments: {0}", argsString);
|
Logger.Instance.Debug(typeof(OutlookRestarter), "Parsed arguments: {0}", argsString);
|
||||||
|
Loading…
Reference in New Issue
Block a user