mirror of
				https://github.com/Kopano-dev/kopano-ol-extension.git
				synced 2023-10-10 11:37:40 +00:00 
			
		
		
		
	Fix for restarting if there's a space in the profile name
This commit is contained in:
		| @@ -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); | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user