small bug fixes

This commit is contained in:
iAmAsval
2020-05-26 10:36:42 +02:00
parent e9de63b69e
commit cc1520b4a7
9 changed files with 42 additions and 59 deletions

View File

@@ -72,11 +72,7 @@ namespace FModel
DebugHelper.WriteUserSettings();
Folders.CheckWatermarks();
await Task.WhenAll(
PaksGrabber.PopulateMenu(),
AesGrabber.Load(Properties.Settings.Default.ReloadAesKeys),
CdnDataGrabber.DoCDNStuff()
).ContinueWith(t =>
await Task.WhenAll(Init()).ContinueWith(t =>
{
Keys.NoKeyGoodBye();
MenuItems.FeedCustomGoTos();
@@ -91,6 +87,13 @@ namespace FModel
TaskScheduler.FromCurrentSynchronizationContext());
}
private async Task Init()
{
await PaksGrabber.PopulateMenu().ConfigureAwait(false);
await AesGrabber.Load(Properties.Settings.Default.ReloadAesKeys).ConfigureAwait(false);
await CdnDataGrabber.DoCDNStuff().ConfigureAwait(false);
}
private void AeConfiguration()
{
AvalonEditFindReplaceHelper Frm = new AvalonEditFindReplaceHelper