private async Task <TukUiAddon> GetTukUiRetailAddon() { var tocText = await TukUiRetailTocUrl.GetStringAsync(); var toc = new Utilities.TocParser(tocText).Toc; return(new TukUiAddon { Author = toc.Author, Category = "Interfaces", Patch = toc.Interface, Changelog = string.Empty, DonateUrl = "https://www.tukui.org/support.php", Downloads = "1", Id = "43252", LastDownload = string.Empty, LastUpdate = string.Empty, Name = toc.Title, ScreenshotUrl = "https://www.tukui.org/images/apple-touch-icon-120x120.png", SmallDesc = "A clean, lightweight, minimalist and popular user interface among the warcraft community since 2007.", Url = $"https://www.tukui.org/downloads/tukui-{toc.Version}.zip", Version = toc.Version, WebUrl = "https://www.tukui.org/download.php?ui=tukui" }); }
private async Task <TukUiAddon> GetElvUiRetailAddon() { var tocText = await ElvUiRetailTocUrl.GetStringAsync(); var toc = new Utilities.TocParser(tocText).Toc; return(new TukUiAddon { Author = toc.Author, Category = "Interfaces", Patch = toc.Interface, Changelog = string.Empty, DonateUrl = "https://www.tukui.org/support.php", Downloads = "1", Id = "123321", LastDownload = string.Empty, LastUpdate = string.Empty, Name = toc.Title, ScreenshotUrl = "https://www.tukui.org/images/apple-touch-icon-120x120.png", SmallDesc = "A USER INTERFACE DESIGNED AROUND USER-FRIENDLINESS WITH EXTRA FEATURES THAT ARE NOT INCLUDED IN THE STANDARD UI.", Url = $"https://www.tukui.org/downloads/elvui-{toc.Version}.zip", Version = toc.Version, WebUrl = "https://www.tukui.org/download.php?ui=elvui" }); }