mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2025-07-24 14:49:48 -06:00
Pacify updater (#1899)
* Updater: Remove dirs selectively * Log exceptions from updater async tasks * Address riperiperi's comments
This commit is contained in:
@ -156,7 +156,10 @@ namespace Ryujinx
|
||||
|
||||
if (ConfigurationState.Instance.CheckUpdatesOnStart.Value && Updater.CanUpdate(false))
|
||||
{
|
||||
_ = Updater.BeginParse(mainWindow, false);
|
||||
Updater.BeginParse(mainWindow, false).ContinueWith(task =>
|
||||
{
|
||||
Logger.Error?.Print(LogClass.Application, $"Updater Error: {task.Exception}");
|
||||
}, TaskContinuationOptions.OnlyOnFaulted);
|
||||
}
|
||||
|
||||
Application.Run();
|
||||
|
Reference in New Issue
Block a user