public void FetchAndRefresh() { VoiceOfBees.FetchList(); listAUDBEntries.Items.Clear(); foreach (var rel in VoiceOfBees.EntryList) { listAUDBEntries.Items.Add(rel); } DrawBoxes(); }
public BlepOut() { InitializeComponent(); firstshow = true; MaskModeSelect.Items.AddRange(new object[] { Maskmode.Names, Maskmode.Tags, Maskmode.NamesAndTags }); MaskModeSelect.SelectedItem = Maskmode.NamesAndTags; Wood.LogPath = Path.Combine(Directory.GetCurrentDirectory(), "BOILOG.txt"); Wood.WriteLine("BOI starting " + DateTime.Now); targetFiles = new List <ModRelay>(); pluginBlacklist = new List <string>(); patchBlacklist = new List <string>(); outrmixmods = new List <string>(); TagManager.ReadTagsFromFile(tagfilePath); BoiConfigManager.ReadConfig(); UpdateTargetPath(BoiConfigManager.TarPath); firstshow = false; if (File.Exists(Path.Combine(RootPath, "BepInEx", "LogOutput.log"))) { string[] lans = File.ReadAllLines(Path.Combine(RootPath, "BepInEx", "LogOutput.log")); for (int cuwo = 0; cuwo < lans.Length; cuwo++) { string scrpyr = lans[cuwo]; if (scrpyr.Contains("Here be dragons!")) { Wood.WriteLine("Dragon thoughts found. Saying hi."); goto iolaa; } } iolaa: { Wood.WriteLine("..."); Wood.WriteLine("To you and your parent, greetings. May your work persist for as long as we do."); Wood.WriteLine("Wish you all well. Bzz!"); } } VoiceOfBees.FetchList(); if (VoiceOfBees.EntryList.Count > 0) { VoiceOfBees.EntryList[0].TryDownload(ModFolder); } }