Пример #1
0
        public List <MinecraftAssembly> CheckLibraries(KMCCC.Launcher.Version version)
        {
            List <MinecraftAssembly> missing    = new List <MinecraftAssembly>();
            List <Library>           missingLib = Core.CheckLibraries(version);

            foreach (Library lib in missingLib)
            {
                string dName = lib.Url.Substring(lib.Url.LastIndexOf('/') + 1);
                missing.Add(new MinecraftAssembly
                {
                    Name = dName,
                    Path = Core.GetLibPath(lib),
                    Url  = lib.Url
                });
            }

            return(missing);
        }