private static AppRegistry LoadRegistry(string jsonFileName)
        {
            var dto      = AppsDto.Load(jsonFileName);
            var registry = new AppRegistry(dto.Apps.Select(x => new AppInfo(x.Id, x.DisplayName, x.LauncherId, x.LauncherParams)));

            return(registry);
        }
Ejemplo n.º 2
0
        public override AppRegistry ParseRegistry(string registryContent)
        {
            var dto      = AppsDto.FromContent(registryContent);
            var registry = new AppRegistry(dto.Apps.Select(x => new AppInfo(x.Id, x.DisplayName, x.LauncherId, x.LauncherParams)));

            return(registry);
        }