From 6b9fcc28cb71bcc519352f1f29a0412cb2fff3ca Mon Sep 17 00:00:00 2001 From: Amarey Date: Thu, 28 Dec 2023 11:46:06 +0800 Subject: [PATCH] All I want for Christmas is no bugs :sob: --- AimmyWPF/MainWindow.xaml.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/AimmyWPF/MainWindow.xaml.cs b/AimmyWPF/MainWindow.xaml.cs index fc9274d..4e52c9d 100644 --- a/AimmyWPF/MainWindow.xaml.cs +++ b/AimmyWPF/MainWindow.xaml.cs @@ -193,13 +193,12 @@ private async void Window_Loaded(object sender, RoutedEventArgs e) Task modelTask = RetrieveAndAddFilesAsync("models", "bin\\models", AvailableModels); Task configTask = RetrieveAndAddFilesAsync("configs", "bin\\configs", AvailableConfigs); await Task.WhenAll(modelTask, configTask); + LoadStoreMenu(); } catch { MessageBox.Show("Github is irretrieveable right now, the Downloadable Model menu will not work right now, sorry!"); } - - LoadStoreMenu(); } private async Task RetrieveAndAddFilesAsync(string repositoryPath, string localPath, HashSet availableFiles)