public static TargetOS GetTargetOS(string os)
        {
            if (os.IsNullOrEmpty())
            {
                return(DetectOS.GetCurrentOS());
            }

            try
            {
                return(Enum.Parse <TargetOS>(os, true));
            }
            catch (Exception e)
            {
                throw new OperatingSystemNotFoundException(e.Message);
            }
        }