예제 #1
0
 public async void ReloadMappings(object sender, RoutedEventArgs e)
 {
     if (await MappingsGrabber.Load(true).ConfigureAwait(false))
     {
         Globals.gNotifier.ShowCustomMessage("Mappings", "Reloaded successfully");
     }
     else
     {
         Globals.gNotifier.ShowCustomMessage("Mappings", "Failed to reload");
     }
 }
예제 #2
0
        private async Task Init()
        {
            await PaksGrabber.PopulateMenu().ConfigureAwait(false);

            await AesGrabber.Load(Properties.Settings.Default.ReloadAesKeys).ConfigureAwait(false);

            await MappingsGrabber.Load().ConfigureAwait(false);

            await CdnDataGrabber.DoCDNStuff().ConfigureAwait(false);

            await Folders.DownloadAndExtractVgm().ConfigureAwait(false);

            if (Properties.Settings.Default.UseDiscordRpc)
            {
                DiscordIntegration.StartClient();
            }
        }