Exemplo n.º 1
0
        public static EngineInstall GetEngineInstall(string EngineAssociation)
        {
            EngineInstall EngineInstall = GetEngineInstallFromLauncherManifest(EngineAssociation);

            if (EngineInstall != null)
            {
                return(EngineInstall);
            }

            EngineInstall = GetEngineInstallFromRegistry(EngineAssociation);
            if (EngineInstall != null)
            {
                return(EngineInstall);
            }

            throw new Exception("Could not find Engine installation based on EngineAssociation: + " + EngineAssociation);
        }
Exemplo n.º 2
0
 public EngineInstall GetEngineInstall()
 {
     return(EngineInstall.GetEngineInstall(EngineAssociation));
 }